From: daid Date: Thu, 15 Jan 2015 09:01:27 +0000 (+0100) Subject: Fix Darwin build, this command usually fails as intended, but can be ignored on faulure. X-Git-Tag: 15.01-RC9~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5a73ac9be9aca695ca2eb3e3e8c950212f15b33b;p=cura.git Fix Darwin build, this command usually fails as intended, but can be ignored on faulure. --- diff --git a/package.sh b/package.sh index a8ddeff5..a8bcee50 100755 --- a/package.sh +++ b/package.sh @@ -235,7 +235,7 @@ if [ "$BUILD_TARGET" = "darwin" ]; then cd .. # Create sparse image for distribution - hdiutil detach /Volumes/Cura\ -\ Ultimaker/ + hdiutil detach /Volumes/Cura\ -\ Ultimaker/ || true rm -rf Cura.dmg.sparseimage hdiutil convert DmgTemplateCompressed.dmg -format UDSP -o Cura.dmg hdiutil resize -size 500m Cura.dmg.sparseimage