Bug 501574 - echo -n isn't portable (expecially not to 10.5.x) so we get bogus creator codes, r=Standard8

This commit is contained in:
Phil Ringnalda 2009-07-02 21:19:16 -07:00
Родитель 650ab791b7
Коммит 7be3c7c530
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -388,7 +388,7 @@ libs repackage:: $(PROGRAM)
-cp -L $(DIST)/bin/mangle $(DIST)/bin/shlibsign $(DIST)/$(APP_NAME).app/Contents/MacOS
cp -RL $(DIST)/branding/sunbird.icns $(DIST)/$(APP_NAME).app/Contents/Resources/sunbird.icns
cp -RL $(DIST)/branding/sb_ICS.icns $(DIST)/$(APP_NAME).app/Contents/Resources/sb_ICS.icns
echo -n APPL$(MAC_CREATOR_CODE) > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
printf APPL$(MAC_CREATOR_CODE) > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
# remove CVS dirs from packaged app
find $(DIST)/$(APP_NAME).app -type d -name "CVS" -prune -exec rm -rf {} \;

Просмотреть файл

@ -378,7 +378,7 @@ libs:: $(PROGRAM)
mkdir -p $(DIST)/$(APP_NAME).app/Contents/Library/Spotlight
rsync -a --copy-unsafe-links $(DIST)/package/Thunderbird.mdimporter $(DIST)/$(APP_NAME).app/Contents/Library/Spotlight
cp -RL $(DIST)/branding/thunderbird.icns $(DIST)/$(APP_NAME).app/Contents/Resources/thunderbird.icns
echo -n APPLMOZM > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
printf APPLMOZM > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
# remove CVS dirs from packaged app
find $(DIST)/$(APP_NAME).app -type d -name "CVS" -prune -exec rm -rf {} \;

Просмотреть файл

@ -306,7 +306,7 @@ libs:: $(PROGRAM)
rsync -a --copy-unsafe-links $(DIST)/package/PrintPDE.plugin $(DIST)/$(APP_NAME).app/Contents/Plug-Ins
cp -RL $(srcdir)/../branding/icons/mac/*.icns $(DIST)/$(APP_NAME).app/Contents/Resources/
cp -RL $(DIST)/package/mozillaSuite.rsrc $(DIST)/$(APP_NAME).app/Contents/Resources/$(PROGRAM).rsrc
echo -n APPLMOZZ > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
printf APPLMOZZ > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
# remove CVS dirs from packaged app
find $(DIST)/$(APP_NAME).app -type d -name "CVS" -prune -exec rm -rf {} \;