From 92fe7747045ffd36c22d8129a406dd001e043263 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Mon, 19 Feb 2024 20:15:05 +0300 Subject: [PATCH] fix grep complain in configure: "warning: stray \ before c" Signed-off-by: Alexander Golubev --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index de1ebdbe..0018d93e 100755 --- a/configure +++ b/configure @@ -3459,14 +3459,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" @@ -3490,7 +3490,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"