8007387: "sed: RE error: illegal byte sequence" when building images on Mac

Reviewed-by: tbell
This commit is contained in:
Erik Joelsson 2013-02-21 14:14:59 +01:00
parent 93a052bab3
commit 11cd94d40b

View File

@ -59,7 +59,7 @@ define process-doc-file
$(ECHO) $(LOG_INFO) Processing $(patsubst $(OUTPUT_ROOT)/%,%,$@)
$(MKDIR) -p $(@D)
$(RM) $@
$(SED) 's/$$//g' $< > $@
LC_ALL=C $(SED) 's/$$//g' $< > $@
$(CHMOD) 444 $@
endef