From 3a61f4d18458eeeff7bad6e56f9f15373e367753 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 27 Jun 2017 07:09:21 +0200 Subject: [PATCH] Try to fix macosx compilation. --- resources/scripts/.travis-install-osx.sh | 6 ++++-- rssguard.pro | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/scripts/.travis-install-osx.sh b/resources/scripts/.travis-install-osx.sh index ea8e08585..b594aa436 100755 --- a/resources/scripts/.travis-install-osx.sh +++ b/resources/scripts/.travis-install-osx.sh @@ -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 diff --git a/rssguard.pro b/rssguard.pro index 37d86236a..6488750e8 100755 --- a/rssguard.pro +++ b/rssguard.pro @@ -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 }