From 7be3c7c530449d5399e53d266281c67a4807526f Mon Sep 17 00:00:00 2001 From: Phil Ringnalda Date: Thu, 2 Jul 2009 21:19:16 -0700 Subject: [PATCH] Bug 501574 - echo -n isn't portable (expecially not to 10.5.x) so we get bogus creator codes, r=Standard8 --- calendar/sunbird/app/Makefile.in | 2 +- mail/app/Makefile.in | 2 +- suite/app/Makefile.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/sunbird/app/Makefile.in b/calendar/sunbird/app/Makefile.in index 5482607eed..0e11a305a0 100644 --- a/calendar/sunbird/app/Makefile.in +++ b/calendar/sunbird/app/Makefile.in @@ -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 {} \; diff --git a/mail/app/Makefile.in b/mail/app/Makefile.in index f8845a7bcf..ebb3240dbe 100644 --- a/mail/app/Makefile.in +++ b/mail/app/Makefile.in @@ -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 {} \; diff --git a/suite/app/Makefile.in b/suite/app/Makefile.in index acc01c6bd7..59cab8c0d6 100644 --- a/suite/app/Makefile.in +++ b/suite/app/Makefile.in @@ -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 {} \;