ソースを参照

(au) ensure au runs from top level

Rob Reynolds 7 年 前
コミット
d6cdd208ca
1 ファイル変更5 行追加1 行削除
  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