summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8715537)
raw | patch | inline | side by side (parent: 8715537)
author | jiho-sf <jiho-sf@users.sourceforge.net> | |
Sun, 17 Feb 2008 21:41:07 +0000 (21:41 +0000) | ||
committer | jiho-sf <jiho-sf@users.sourceforge.net> | |
Sun, 17 Feb 2008 21:41:07 +0000 (21:41 +0000) |
packaging/macosx/osx-dmg.sh | patch | blob | history |
index 86e83bf068b484bd91a4a2ec1a3bd2ee84067557..f1ce72132b6a96da9e7f74a099b5455125a292fa 100755 (executable)
#----------------------------------------------------------
help()
{
-echo -e "
+echo "
Create a custom dmg file to distribute Inkscape
\033[1mUSAGE\033[0m
exit 1
fi
-echo -e "\n\033[1mCREATE INKSCAPE DISK IMAGE\033[0m\n"
+echo "\n\033[1mCREATE INKSCAPE DISK IMAGE\033[0m\n"
# Create temp directory with desired contents of the release volume.
rm -rf "$tmp_dir"
mkdir "$tmp_dir"
-echo -e "\033[1mCopying files to temp directory\033[0m"
+echo "\033[1mCopying files to temp directory\033[0m"
# Inkscape itself
# copy Inkscape.app
cp -rf "$package" "$tmp_dir"/
fi
# Create a new RW image from the temp directory.
-echo -e "\033[1mCreating a temporary disk image\033[0m"
+echo "\033[1mCreating a temporary disk image\033[0m"
rm -f "$rw_name"
/usr/bin/hdiutil create -srcfolder "$tmp_dir" -volname "$volume_name" -fs HFS+ -fsargs "-c c=64,a=16,e=16" -format UDRW "$rw_name"
hdiutil detach "$DEV_NAME"
# Create the offical release image by compressing the RW one.
-echo -e "\033[1mCompressing the final disk image\033[0m"
+echo "\033[1mCompressing the final disk image\033[0m"
img_name="Inkscape.dmg"
# TODO make this a command line option
if [ -e "$img_name" ]; then