8065138: Encodings.isRecognizedEnconding sometimes fails to recognize 'UTF8'
Reviewed-by: dfuchs
This commit is contained in:
parent
37e6b26da4
commit
65d007d445
@ -400,13 +400,15 @@ define add_file_to_clean
|
|||||||
# Now we can setup the depency that will trigger the copying.
|
# Now we can setup the depency that will trigger the copying.
|
||||||
$$($1_BIN)$$($2_TARGET) : $2
|
$$($1_BIN)$$($2_TARGET) : $2
|
||||||
$(MKDIR) -p $$(@D)
|
$(MKDIR) -p $$(@D)
|
||||||
$(CAT) $$< | $(SED) -e 's/\([^\\]\):/\1\\:/g' -e 's/\([^\\]\)=/\1\\=/g' \
|
export LC_ALL=C ; $(CAT) $$< \
|
||||||
|
| $(SED) -e 's/\([^\\]\):/\1\\:/g' -e 's/\([^\\]\)=/\1\\=/g' \
|
||||||
-e 's/\([^\\]\)!/\1\\!/g' -e 's/#.*/#/g' \
|
-e 's/\([^\\]\)!/\1\\!/g' -e 's/#.*/#/g' \
|
||||||
| $(SED) -f "$(SRC_ROOT)/make/common/support/unicode2x.sed" \
|
| $(SED) -f "$(SRC_ROOT)/make/common/support/unicode2x.sed" \
|
||||||
| $(SED) -e '/^#/d' -e '/^$$$$/d' \
|
| $(SED) -e '/^#/d' -e '/^$$$$/d' \
|
||||||
-e :a -e '/\\$$$$/N; s/\\\n//; ta' \
|
-e :a -e '/\\$$$$/N; s/\\\n//; ta' \
|
||||||
-e 's/^[ ]*//;s/[ ]*$$$$//' \
|
-e 's/^[ ]*//;s/[ ]*$$$$//' \
|
||||||
-e 's/\\=/=/' | LC_ALL=C $(SORT) > $$@
|
-e 's/\\=/=/' \
|
||||||
|
| $(SORT) > $$@
|
||||||
$(CHMOD) -f ug+w $$@
|
$(CHMOD) -f ug+w $$@
|
||||||
|
|
||||||
# And do not forget this target
|
# And do not forget this target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user