chiark / gitweb /
Fix Darwin build, this command usually fails as intended, but can be ignored on faulure.
authordaid <daid303@gmail.com>
Thu, 15 Jan 2015 09:01:27 +0000 (10:01 +0100)
committerdaid <daid303@gmail.com>
Thu, 15 Jan 2015 09:01:27 +0000 (10:01 +0100)
package.sh

index a8ddeff5c1e9ead5b07316dd1011993df3c0b772..a8bcee50ff0447f554b8d2bad18bf546731d2c73 100755 (executable)
@@ -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