Fix 'sed: RE error: illegal byte sequence' (#1714)
... by unsetting `LC_ALL` and passing `LC_CTYPE=C` to `sed`. This commit fixes issue #1454.
This commit is contained in:
parent
9f12152463
commit
d51999adf5
@ -27,8 +27,8 @@ command_path() {
|
||||
}
|
||||
|
||||
extract_initial_comment_block() {
|
||||
LC_ALL=C
|
||||
LANG=C
|
||||
LC_ALL= \
|
||||
LC_CTYPE=C \
|
||||
sed -ne "
|
||||
/^#/ !{
|
||||
q
|
||||
|
Loading…
x
Reference in New Issue
Block a user