diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-02-19 20:15:05 +0300 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2024-02-21 01:35:18 +0000 |
commit | 92fe7747045ffd36c22d8129a406dd001e043263 (patch) | |
tree | 0eee4ab06ea9652e622822d861888d73853961e6 /configure | |
parent | 77697cb46ca8744e89cadadae81ee8c0df3e2dbd (diff) | |
download | tqt3-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-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |