fix grep complain in configure: "warning: stray \ before c"

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
pull/113/head
Alexander Golubev 9 months ago committed by TDE Gitea
parent 77697cb46c
commit 92fe774704

6
configure vendored

@ -3459,14 +3459,14 @@ for file in .projects .projects.3; do
continue; continue;
fi fi
QMAKE_SPEC_ARGS="-spec $SPEC" QMAKE_SPEC_ARGS="-spec $SPEC"
if echo '\c' | grep '\c' >/dev/null; then if echo '\c' | grep '\\c' >/dev/null; then
echo -n " for $a" echo -n " for $a"
else else
echo " for $a\c" echo " for $a\c"
fi fi
if [ "$file" = ".projects.3" ]; then if [ "$file" = ".projects.3" ]; then
if echo '\c' | grep '\c' >/dev/null; then if echo '\c' | grep '\\c' >/dev/null; then
echo -n " (fast)" echo -n " (fast)"
else else
echo " (fast)\c" echo " (fast)\c"
@ -3490,7 +3490,7 @@ EOF
EXEC="$outpath/bin/tqmake $QMAKE_SWITCHES $QMAKE_SPEC_ARGS -o $OUTDIR $a" EXEC="$outpath/bin/tqmake $QMAKE_SWITCHES $QMAKE_SPEC_ARGS -o $OUTDIR $a"
if [ "$OPT_VERBOSE" = "yes" ]; then if [ "$OPT_VERBOSE" = "yes" ]; then
echo " (`basename $SPEC`)" echo " (`basename $SPEC`)"
if echo '\c' | grep '\c' >/dev/null; then if echo '\c' | grep '\\c' >/dev/null; then
echo -n "$EXEC" echo -n "$EXEC"
else else
echo "$EXEC\c" echo "$EXEC\c"

Loading…
Cancel
Save