8036965: 9-dev solaris builds failed: sort: can't read STDIN: Illegal byte sequence

Reviewed-by: henryjen, tbell, ihse
This commit is contained in:
Erik Joelsson 2014-03-11 12:04:27 +01:00
parent 4cf284abbb
commit 405bc140c0

View File

@ -364,7 +364,7 @@ define add_file_to_clean
| $(SED) -e '/^#/d' -e '/^$$$$/d' \
-e :a -e '/\\$$$$/N; s/\\\n//; ta' \
-e 's/^[ \t]*//;s/[ \t]*$$$$//' \
-e 's/\\=/=/' | LANG=C $(SORT) > $$@
-e 's/\\=/=/' | LC_ALL=C $(SORT) > $$@
$(CHMOD) -f ug+w $$@
# And do not forget this target