correctly construct PkgInfo so the default plugin can load on Mac OS X. b=460812 r=ted
authorJosh Aas <joshmoz@gmail.com>
Mon, 20 Oct 2008 16:43:21 -0400
changeset 20684 d877c37141272ddee62fb1d49a9376956a277c8e
parent 20683 457619abbaa5f2197064cc99f751b977a6d15084
child 20685 6c2f8bd79cbc51513edc0bcae57fa14ac8946f1f
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs460812
milestone1.9.1b2pre
correctly construct PkgInfo so the default plugin can load on Mac OS X. b=460812 r=ted
modules/plugin/default/mac/Makefile.in
--- a/modules/plugin/default/mac/Makefile.in
+++ b/modules/plugin/default/mac/Makefile.in
@@ -88,9 +88,9 @@ GARBAGE_DIRS += build
 
 libs install:: install-plugin
 
 install-plugin: build-plugin
 	$(INSTALL) "$(XCODE_PRODUCT_DIR)/Default Plugin.plugin" $(DIST)/bin/plugins
 
 build-plugin:
 	$(PBBUILD) $(PROJECT_ARG) -target $(TARGET) -buildstyle $(BUILDSTYLE) $(PBBUILD_ARG)
-	echo -n NSPLMOSS > "$(XCODE_PRODUCT_DIR)/Default Plugin.plugin/Contents/PkgInfo"
+	printf "NSPLMOSS" > "$(XCODE_PRODUCT_DIR)/Default Plugin.plugin/Contents/PkgInfo"