From baf6f73c3415ee4b562a4cd5bc685f0fd6d21875 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 8 Oct 2014 01:00:51 +0200 Subject: [PATCH] update osx DMG icon tool paths OS 10.9 no longer has /Developer, but DeRez, Rez & SetFile are in $PATH since at least 10.6 --- tools/osx_packaging/osx_build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 78dc2cd07d..f440c50254 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -665,10 +665,10 @@ rm -rf "$MNTPATH" echo "setting file icon ..." cp ${PRODUCT_PKG_DIR}/$Resources/appIcon.icns ${ICNSTMP}.icns -/usr/bin/sips -i ${ICNSTMP}.icns -/Developer/Tools/DeRez -only icns ${ICNSTMP}.icns > ${ICNSTMP}.rsrc -/Developer/Tools/Rez -append ${ICNSTMP}.rsrc -o "$UC_DMG" -/Developer/Tools/SetFile -a C "$UC_DMG" +sips -i ${ICNSTMP}.icns +DeRez -only icns ${ICNSTMP}.icns > ${ICNSTMP}.rsrc +Rez -append ${ICNSTMP}.rsrc -o "$UC_DMG" +SetFile -a C "$UC_DMG" rm ${ICNSTMP}.icns ${ICNSTMP}.rsrc