changeset 15823:9882cddb33b9

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 6d3dcd34b5b9
children dbb668469cbe
files jdk/makefiles/Images.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/makefiles/Images.gmk	Wed Jul 05 18:41:33 2017 +0200
+++ b/jdk/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