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=
|
usingPython3=
|
||||||
if test "$CPP" = "$CC -E" ; then
|
if test "$CPP" = "$CC -E" ; then
|
||||||
MCPP="$CPP -x c"
|
MCPP="$CPP -x c"
|
||||||
MSED="sed -e 's/\\/\\\\/'"
|
MSED="sed -e 's/\\\\/\\\\\\\\/'"
|
||||||
else
|
else
|
||||||
MCPP="$CPP"
|
MCPP="$CPP"
|
||||||
MSED="sed -e 's/\\/\\\\/'"
|
MSED="sed -e 's/\\\\/\\\\\\\\/'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -299,10 +299,10 @@ if test "x${PYTHON3}" == "xno"; then
|
||||||
usingPython3=
|
usingPython3=
|
||||||
if test "$CPP" = "$CC -E" ; then
|
if test "$CPP" = "$CC -E" ; then
|
||||||
MCPP="$CPP -x c"
|
MCPP="$CPP -x c"
|
||||||
MSED="sed -e 's/\\/\\\\/'"
|
MSED="sed -e 's/\\\\/\\\\\\\\/'"
|
||||||
else
|
else
|
||||||
MCPP="$CPP"
|
MCPP="$CPP"
|
||||||
MSED="sed -e 's/\\/\\\\/'"
|
MSED="sed -e 's/\\\\/\\\\\\\\/'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue