changeset 7587:5a1ea5bbe10a

8007387: "sed: RE error: illegal byte sequence" when building images on Mac Reviewed-by: tbell
author erikj
date Thu, 21 Feb 2013 14:14:59 +0100
parents 00b7535d743f
children a287f6a0d46d
files makefiles/Images.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/makefiles/Images.gmk	Tue Feb 19 17:32:10 2013 -0500
+++ b/makefiles/Images.gmk	Thu Feb 21 14:14:59 2013 +0100
@@ -59,7 +59,7 @@
 	$(ECHO) $(LOG_INFO) Processing $(patsubst $(OUTPUT_ROOT)/%,%,$@)
 	$(MKDIR) -p $(@D)
 	$(RM) $@
-	$(SED) 's/$$//g' $< > $@
+	LC_ALL=C $(SED) 's/$$//g' $< > $@
 	$(CHMOD) 444 $@
 endef