chiark / gitweb /
Fixing OS X disk image name
authorJustin Nesselrotte <jnesselr@harding.edu>
Fri, 2 Jan 2015 06:18:22 +0000 (00:18 -0600)
committerJustin Nesselrotte <jnesselr@harding.edu>
Fri, 2 Jan 2015 06:18:22 +0000 (00:18 -0600)
package.sh

index a8d9ade2229f563f8aaa389b70c64a0eb4bf2c16..c57c8192a6fb4115f795b98a0d23f220f34fdea9 100755 (executable)
@@ -143,13 +143,13 @@ if [ "$BUILD_TARGET" = "darwin" ]; then
        cd ..
 
        # Create sparse image for distribution
-       hdiutil detach /Volumes/Cura\ -\ Ultimaker/
+       hdiutil detach /Volumes/Cura\ -\ Lulzbot/
        rm -rf Cura.dmg.sparseimage
        hdiutil convert DmgTemplateCompressed.dmg -format UDSP -o Cura.dmg
        hdiutil resize -size 500m Cura.dmg.sparseimage
        hdiutil attach Cura.dmg.sparseimage
-       cp -a dist/Cura.app /Volumes/Cura\ -\ Ultimaker/Cura/
-       hdiutil detach /Volumes/Cura\ -\ Ultimaker
+       cp -a dist/Cura.app /Volumes/Cura\ -\ Lulzbot/Cura/
+       hdiutil detach /Volumes/Cura\ -\ Lulzbot
        hdiutil convert Cura.dmg.sparseimage -format UDZO -imagekey zlib-level=9 -ov -o ../../${TARGET_DIR}.dmg
        exit
 fi