Fix inadequate quoting in MSED variable
Fixes: sed: 1: "s/\/\\/ ": unescaped newline inside substitute pattern
This commit is contained in:
parent
4c4b0e301b
commit
874209b884
|
|
@ -5374,10 +5374,10 @@ if test "x${PYTHON3}" == "xno"; then
|
|||
usingPython3=
|
||||
if test "$CPP" = "$CC -E" ; then
|
||||
MCPP="$CPP -x c"
|
||||
MSED="sed -e 's/\\/\\\\/'"
|
||||
MSED="sed -e 's/\\\\/\\\\\\\\/'"
|
||||
else
|
||||
MCPP="$CPP"
|
||||
MSED="sed -e 's/\\/\\\\/'"
|
||||
MSED="sed -e 's/\\\\/\\\\\\\\/'"
|
||||
fi
|
||||
|
||||
else
|
||||
|
|
|
|||
|
|
@ -299,10 +299,10 @@ if test "x${PYTHON3}" == "xno"; then
|
|||
usingPython3=
|
||||
if test "$CPP" = "$CC -E" ; then
|
||||
MCPP="$CPP -x c"
|
||||
MSED="sed -e 's/\\/\\\\/'"
|
||||
MSED="sed -e 's/\\\\/\\\\\\\\/'"
|
||||
else
|
||||
MCPP="$CPP"
|
||||
MSED="sed -e 's/\\/\\\\/'"
|
||||
MSED="sed -e 's/\\\\/\\\\\\\\/'"
|
||||
fi
|
||||
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue