summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-02-19 20:15:05 +0300
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2024-02-21 01:35:18 +0000
commit92fe7747045ffd36c22d8129a406dd001e043263 (patch)
tree0eee4ab06ea9652e622822d861888d73853961e6 /configure
parent77697cb46ca8744e89cadadae81ee8c0df3e2dbd (diff)
downloadtqt3-92fe7747045ffd36c22d8129a406dd001e043263.tar.gz
tqt3-92fe7747045ffd36c22d8129a406dd001e043263.zip
fix grep complain in configure: "warning: stray \ before c"
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index de1ebdbeb..0018d93e1 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"