Fix inadequate quoting in MSED variable

Fixes:

sed: 1: "s/\/\\/
": unescaped newline inside substitute pattern
This commit is contained in:
Ryan Schmidt 2022-04-11 03:00:09 -05:00 committed by Tim Edwards
parent 4c4b0e301b
commit 874209b884
2 changed files with 4 additions and 4 deletions

4
scripts/configure vendored
View File

@ -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

View File

@ -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