From 43af717d4418b7bf0f67681747e2eb500480e924 Mon Sep 17 00:00:00 2001 From: Jackbennett Date: Wed, 25 May 2016 10:13:47 +0100 Subject: [PATCH] Support spaces in package names to extract --- scripts/utils.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.ps1 b/scripts/utils.ps1 index d1f932a..cf7fe7b 100644 --- a/scripts/utils.ps1 +++ b/scripts/utils.ps1 @@ -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" }