Skip to content

Commit

Permalink
(chocolatey-archiveGH-558) quote path on batch fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Nov 2, 2014
1 parent d6068c2 commit 4dd74f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/Generate-BinFile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ start """" ""$path"" %*" | Out-File $packageBatchFileName -encoding ASCII

"@echo off
SET DIR=%~dp0%
cmd /c ""$path %*""
cmd /c """"$path"" %*""
exit /b %ERRORLEVEL%" | Out-File $packageBatchFileName -encoding ASCII

$sw = New-Object IO.StreamWriter "$packageBashFileName"
Expand Down

0 comments on commit 4dd74f1

Please sign in to comment.