- Timestamp:
- 03/08/03 09:44:46 (22 years ago)
- Location:
- trunk/ICeCoffEE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/package-ICeCoffEE.sh
r78 r110 9 9 find . -name \*~ -exec rm '{}' \; && \ 10 10 VERSION=`cat VERSION` && \ 11 DMG="$PRODUCT-$VERSION.dmg" VOL="$PRODUCT $VERSION" MOUNTPOINT="/Volumes/$VOL"&& \11 DMG="$PRODUCT-$VERSION.dmg" VOL="$PRODUCT $VERSION" && \ 12 12 DSTROOT="$PACKAGEDIR/$VOL" && \ 13 13 sudo rm -fr "$DSTROOT" && \ … … 20 20 cd "$PACKAGEDIR" && \ 21 21 rm -f "$DMG" && \ 22 hdiutil create "$DMG" -megabytes 5 -ov -type UDIF && \ 23 DISK=`hdid -nomount "$DMG" | sed -ne ' /Apple_partition_scheme/ s|^/dev/\([^ ]*\).*$|\1|p'` && \ 24 newfs_hfs -v "$VOL" "/dev/r${DISK}s2" && \ 25 hdiutil eject "$DISK" && \ 26 hdid "$DMG" && \ 22 hdiutil create "$DMG" -megabytes 5 -ov -layout NONE -fs 'HFS+' -volname "$VOL" && \ 23 MOUNT=`hdiutil attach "$DMG"` && \ 24 DISK=`echo "$MOUNT" | sed -ne ' s|^/dev/\([^ ]*\).*$|\1|p'` && \ 25 MOUNTPOINT=`echo "$MOUNT" | sed -ne 's|^.*\(/Volumes/.*\)$|\1|p'` && \ 27 26 ditto -rsrc "$DSTROOT" "$MOUNTPOINT" && \ 28 27 chmod -R a+rX,u+w "$MOUNTPOINT" && \ 29 28 openUp "$MOUNTPOINT" && \ 30 hdiutil eject$DISK && \29 hdiutil detach $DISK && \ 31 30 hdiutil convert "$DMG" -format UDZO -imagekey zlib-level=9 -o "z$DMG" && \ 32 31 mv "z$DMG" "$DMG" && \
Note:
See TracChangeset
for help on using the changeset viewer.