diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/getpb.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/getpb.ps1 b/scripts/getpb.ps1 index 77bcb318d..16042bb85 100644 --- a/scripts/getpb.ps1 +++ b/scripts/getpb.ps1 @@ -73,7 +73,7 @@ try{ if($branch -eq $null){ $branch='master' } Invoke-Webrequest "https://github.com/tboox/xmake/archive/$branch.zip" -OutFile "$installdir\temp.zip" Expand-Archive "$installdir\temp.zip" "$installdir\temp" -Force - Move-Item "$installdir\temp\xmake-$branch\xmake\*" $installdir -Recurse + Move-Item "$installdir\temp\xmake-$branch\xmake\*" $installdir Remove-Item "$installdir\temp","$installdir\temp.zip" -Recurse -Force $env:Path+=";$installdir" [Environment]::SetEnvironmentVariable("Path",[Environment]::GetEnvironmentVariable("Path",[System.EnvironmentVariableTarget]::User)+";$installdir",[System.EnvironmentVariableTarget]::User) # this step is optional because installer writes path to regedit |
