From cabcb339c63a347df8a811dc7c35ce24f2d1af0f Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Mon, 19 Feb 2024 20:15:05 +0300 Subject: fix grep complain in configure: "warning: stray \ before c" Signed-off-by: Alexander Golubev (cherry picked from commit 92fe7747045ffd36c22d8129a406dd001e043263) --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index bcb08cff7..9b392c71a 100755 --- a/configure +++ b/configure @@ -3462,14 +3462,14 @@ for file in .projects .projects.3; do continue; fi 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" else echo " for $a\c" fi if [ "$file" = ".projects.3" ]; then - if echo '\c' | grep '\c' >/dev/null; then + if echo '\c' | grep '\\c' >/dev/null; then echo -n " (fast)" else echo " (fast)\c" @@ -3493,7 +3493,7 @@ EOF EXEC="$outpath/bin/tqmake $QMAKE_SWITCHES $QMAKE_SPEC_ARGS -o $OUTDIR $a" if [ "$OPT_VERBOSE" = "yes" ]; then echo " (`basename $SPEC`)" - if echo '\c' | grep '\c' >/dev/null; then + if echo '\c' | grep '\\c' >/dev/null; then echo -n "$EXEC" else echo "$EXEC\c" -- cgit v1.2.3