summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-02-19 20:15:05 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-21 10:35:45 +0900
commitcabcb339c63a347df8a811dc7c35ce24f2d1af0f (patch)
treef256fc826c636a295d42116d0191827acd6ec3b1
parent486ac7828c9227ae3426a34b945cff5b8a8bcb8f (diff)
downloadtqt3-cabcb339c63a347df8a811dc7c35ce24f2d1af0f.tar.gz
tqt3-cabcb339c63a347df8a811dc7c35ce24f2d1af0f.zip
fix grep complain in configure: "warning: stray \ before c"
Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 92fe7747045ffd36c22d8129a406dd001e043263)
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
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"