From 1e701cf0622fa7a5f194519b6afc7ef659f75cd7 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 20 Oct 2016 10:10:25 +0200 Subject: [PATCH] quote regexps the parens aren't matched, so the syntax was bogus. amends 32a3413b13. Task-number: QTBUG-56580 Change-Id: Ic00ba50844b822c7e4524ae81fbb1bc112a158a9 Reviewed-by: Jake Petroules Reviewed-by: Liang Qi --- mkspecs/features/toolchain.prf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf index 87fe7e40a8..3f266dd2a4 100644 --- a/mkspecs/features/toolchain.prf +++ b/mkspecs/features/toolchain.prf @@ -2,10 +2,10 @@ defineReplace(qtMakeExpand) { out = "$$1" for(ever) { - m = $$replace(out, .*\\$\\(EXPORT_([^)]+)\\).*, \\1) + m = $$replace(out, ".*\\$\\(EXPORT_([^)]+)\\).*", \\1) equals(m, $$out): \ return($$out) - out = $$replace(out, \\$\\(EXPORT_$$m\\), $$eval($$m)) + out = $$replace(out, "\\$\\(EXPORT_$$m\\)", $$eval($$m)) } }