diff options
author | Martin Wickham <spexguy070@gmail.com> | 2015-01-15 07:50:51 +0300 |
---|---|---|
committer | Martin Wickham <spexguy070@gmail.com> | 2015-01-15 07:50:51 +0300 |
commit | 547cd007c03bbcff734fb5a4bd1e894cea0ca46c (patch) | |
tree | f8e52756486e93782cdcff6490b718d67f39fa5c /package.sh | |
parent | e8d361b03633d6b9514af0142e614b705aacb03a (diff) |
Fix win32 archiving for paths with spaces
Diffstat (limited to 'package.sh')
-rwxr-xr-x | package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.sh b/package.sh index d492947e1d..a8ddeff5c1 100755 --- a/package.sh +++ b/package.sh @@ -635,7 +635,7 @@ if (( ${ARCHIVE_FOR_DISTRIBUTION} )); then fi if [ -f '/c/Program Files (x86)/NSIS/makensis.exe' ]; then rm -rf scripts/win32/dist - mv `pwd`/${TARGET_DIR} scripts/win32/dist + mv "`pwd`/${TARGET_DIR}" scripts/win32/dist '/c/Program Files (x86)/NSIS/makensis.exe' -DVERSION=${BUILD_NAME} 'scripts/win32/installer.nsi' >> log.txt if [ $? != 0 ]; then echo "Failed to package NSIS installer"; exit 1; fi mv scripts/win32/Cura_${BUILD_NAME}.exe ./ |