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