summaryrefslogtreecommitdiff
path: root/qmake/main.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-11-20 14:58:22 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-23 19:58:18 +0100
commita0e32cbf74e977cdb02defc91081f19b7746c392 (patch)
tree21e485ea13416cb812fefd041583c9ca0f40b575 /qmake/main.cpp
parentef510adea5995e7cacee2697b389c48bd9b19f70 (diff)
downloadqtbase-a0e32cbf74e977cdb02defc91081f19b7746c392.tar.gz
fix handling of | in s/// commands of built-in sed
Change-Id: I139d007d68fb0aed4d9fbe57a14d1ede81ba40d8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'qmake/main.cpp')
-rw-r--r--qmake/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/main.cpp b/qmake/main.cpp
index b1929e0d21..340567a27d 100644
--- a/qmake/main.cpp
+++ b/qmake/main.cpp
@@ -106,7 +106,7 @@ static int doSed(int argc, char **argv)
}
}
if (phase == 1
- && (c == QLatin1Char('+') || c == QLatin1Char('?')
+ && (c == QLatin1Char('+') || c == QLatin1Char('?') || c == QLatin1Char('|')
|| c == QLatin1Char('{') || c == QLatin1Char('}')
|| c == QLatin1Char('(') || c == QLatin1Char(')'))) {
// translate sed rx to QRegExp