Browse Source

(au) ensure au runs from top level

Rob Reynolds 7 years ago
parent
commit
d6cdd208ca
1 changed files with 5 additions and 1 deletions
  1. 5 1
      au/update_all.ps1

+ 5 - 1
au/update_all.ps1

@@ -49,8 +49,12 @@ if ($env:au_force -eq 'true') {
   $options.Force = $true
 }
 
+cd $PSScriptRoot/..
+
 Update-AUPackages -Name $Name -Options $options | ft
-$global:updateall = Import-CliXML $PSScriptRoot\update_info.xml
+$global:updateall = Import-CliXML $PSScriptRoot\..\update_info.xml
 
 #Uncomment to fail the build on AppVeyor on any package error
 #if ($updateall.error_count.total) { throw 'Errors during update' }
+
+cd $PSScriptRoot