Use 'SetFile' instead of '/usr/bin/SetFile' when creating the .dmg, 10.5 puts it in /usr/bin, on 10.4 it's in /Developer/Tools/.

Originally committed to SVN as r2876.
This commit is contained in:
Amar Takhar 2009-04-29 07:55:40 +00:00
parent e1effd407d
commit 56fee329a2

View file

@ -56,7 +56,7 @@ bless -openfolder "/Volumes/${PKG_NAME_VOLUME}" || exit $?
echo
echo "---- Setting root icon using SetFile ----"
/usr/bin/SetFile -a C "/Volumes/${PKG_NAME_VOLUME}" || exit $?
SetFile -a C "/Volumes/${PKG_NAME_VOLUME}" || exit $?
echo
echo "--- Generating /Volumes/${PKG_NAME_VOLUME}/.DS_Store ----"