echo -n doesn't work on OSX, switch to printf r=ted
authorBrad Lassey <blassey@mozilla.com>
Thu, 04 Mar 2010 11:34:05 -0500
changeset 66033 ad3d36c16bb2ca909a8fb918ea3e48cab64d7a24
parent 66032 27d8832893aef37e13949b05c6ce05c22c3a823e
child 66034 e1ab93b5f24f74ec1b3db266e2699b2eef932ac0
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
echo -n doesn't work on OSX, switch to printf r=ted
mobile/locales/Makefile.in
--- a/mobile/locales/Makefile.in
+++ b/mobile/locales/Makefile.in
@@ -66,17 +66,17 @@ PREF_JS_EXPORTS = $(firstword $(wildcard
 DEB_BUILD_ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 DATASTAGE = $(CURDIR)/data-stage
 
 SEARCH_PLUGINS = $(shell cat \
   $(firstword $(wildcard $(LOCALE_SRCDIR)/searchplugins/list.txt) \
        @srcdir@/en-US/searchplugins/list.txt ) )
 
 tmp-search.jar.mn::
-	@echo -n "$(AB_CD).jar:" > $@
+	printf "$(AB_CD).jar:" > $@
 	printf "$(foreach plugin,$(SEARCH_PLUGINS),$(subst __PLUGIN_SUBST__,$(plugin), \n locale/$(AB_CD)/browser/searchplugins/__PLUGIN_SUBST__.xml (__PLUGIN_SUBST__.xml)))" >>  $@
 	@echo   >> $@
 
 searchplugins: tmp-search.jar.mn
 	$(PYTHON) $(MOZILLA_DIR)/config/JarMaker.py \
           $(QUIET) -j $(FINAL_TARGET)/chrome \
           -s $(topsrcdir)/$(relativesrcdir)/en-US/searchplugins \
           -s $(LOCALE_SRCDIR)/searchplugins \