Merge pull request #429 from Jackbennett/mend-build

Fix build script removing a trailing comma. Download into a temp folder.
This commit is contained in:
Martin Kemp
2015-03-18 14:54:55 +00:00
2 changed files with 4 additions and 3 deletions

View File

@ -28,7 +28,7 @@ function Delete-Existing ($path) {
}
function Extract-Archive ($source, $target) {
Invoke-Expression "7z x -y -o$($target) $source > `$null"
Invoke-Expression "7z x -y -o$($target) '$source' > `$null"
if ($lastexitcode -ne 0) {
Write-Error "Extracting of $source failied"
}