Bug 544481 - Build fails on Ubuntu Lucid Lynx using 'dash' shell (# /bin/sh: Syntax error: end of file unexpected (expecting "}")). r=joe, a=beltzner
authorGary Kwong <gary@rumblingedge.com>
Sun, 21 Mar 2010 10:41:26 +0100
changeset 34053 c81d0c090fc637907c8ef3728837084962f9226e
parent 34052 593d62ca7734c716d9defaceab6ebd25933f6737
child 34054 bb34a94063ab8764edf6c119cace591211cd5760
push id1243
push userreed@reedloden.com
push dateTue, 13 Apr 2010 02:44:22 +0000
reviewersjoe, beltzner
bugs544481
milestone1.9.2.4pre
Bug 544481 - Build fails on Ubuntu Lucid Lynx using 'dash' shell (# /bin/sh: Syntax error: end of file unexpected (expecting "}")). r=joe, a=beltzner
modules/libpr0n/build/Makefile.in
--- a/modules/libpr0n/build/Makefile.in
+++ b/modules/libpr0n/build/Makefile.in
@@ -98,21 +98,21 @@ EXTRA_DSO_LDOPTS = \
 		$(MOZ_COMPONENT_LIBS) \
 		$(NULL)
 
 # Force a rebuild of nsImageModule when either of MOZ_IMG_{DE,EN}CODERS changes
 
 GARBAGE += _img_list nsImgBuildDefines.h
 
 export::
-	@{ \
+	{ \
 	$(foreach d,$(filter-out icon,$(MOZ_IMG_DECODERS)), \
-		echo "#define IMG_BUILD_DECODER_${d}";) \
+		echo "#define IMG_BUILD_DECODER_${d}" ; ) \
 	$(foreach d,$(MOZ_IMG_ENCODERS), \
-		echo "#define IMG_BUILD_ENCODER_${d}";) \
+		echo "#define IMG_BUILD_ENCODER_${d}" ; ) \
 	} > nsImgBuildDefines.tmp
 	@if `cmp -s nsImgBuildDefines.h nsImgBuildDefines.tmp`; then \
 		rm -f nsImgBuildDefines.tmp; \
 	else \
 		rm -f nsImgBuildDefines.h; \
 		mv nsImgBuildDefines.tmp nsImgBuildDefines.h; \
 	fi