Try to fix macosx compilation.

This commit is contained in:
Martin Rotter 2017-06-27 07:09:21 +02:00
parent f442d28f3c
commit 3a61f4d184
2 changed files with 6 additions and 4 deletions

View File

@ -20,9 +20,11 @@ git clone -q --depth=1 https://martinrotter:${GH_TOKEN}@github.com/martinrotter/
set -- *.zip
dmgname="$1"
echo $dmgname
dmgnamenospace="${dmgname// /-}"
echo "DMGNAME IS: $dmgname"
echo "DMGNAME NO SPACE IS: $dmgnamenospace"
curl --upload-file ./$dmgname https://transfer.sh/$dmgname --silent >> ./build-wiki/Mac-OS-X-development-builds.md
curl --upload-file "./$dmgname" "https://transfer.sh/$dmgnamenospace" --silent >> ./build-wiki/Mac-OS-X-development-builds.md
echo >> ./build-wiki/Mac-OS-X-development-builds.md
cat ./build-wiki/Mac-OS-X-development-builds.md

View File

@ -595,11 +595,11 @@ win32 {
unix|mac {
seven_zip.target = 7zip
seven_zip.depends = install
seven_zip.commands = 7za a -t7z $$TARGET-$$APP_VERSION-$$APP_REVISION-unix-mac.7z $$shell_path($$PREFIX/*)
seven_zip.commands = 7za a -t7z "$$TARGET-$$APP_VERSION-$$APP_REVISION-unix-mac.7z" $$shell_path($$PREFIX/*)
zip.target = zip
zip.depends = install
zip.commands = 7za a -tzip $$TARGET-$$APP_VERSION-$$APP_REVISION-unix-mac.zip $$shell_path($$PREFIX/*)
zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-unix-mac.zip" $$shell_path($$PREFIX/*)
QMAKE_EXTRA_TARGETS += seven_zip zip
}