Commit f3d4f05d authored by Alvin Wong's avatar Alvin Wong

Windows packaging script: Fix calling hook script

parent 4abb3564
......@@ -685,7 +685,7 @@ endlocal
if not "%ARG_PRE_ZIP_HOOK%" == "" (
echo Running pre-zip-hook...
setlocal
cmd /c "%ARG_PRE_ZIP_HOOK%" "%pkg_root%\"
cmd /c ""%ARG_PRE_ZIP_HOOK%" "%pkg_root%\""
if errorlevel 1 (
echo ERROR: Got exit code !errorlevel! from pre-zip-hook! 1>&2
exit /b 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment