remove pointless extension check from qtPrepareTool()

we never call it with an explicit extension, so this only complicates
matters.

Change-Id: Ib15180130359bb9575bf5dda564f8b817431618f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Oswald Buddenhagen 2013-05-10 18:54:41 +02:00 committed by The Qt Project
parent 6b38524bba
commit 2c033e00d4
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ defineTest(qtPrepareTool) {
$$1 = $$[QT_HOST_BINS]/$$2
exists($$eval($$1).pl) {
$$1 = perl -w $$eval($$1).pl
} else: contains(QMAKE_HOST.os, Windows):!contains($$1, .*\\.(exe|bat)$) {
} else: contains(QMAKE_HOST.os, Windows) {
exists($$eval($$1).bat) {
$$1 = $$eval($$1).bat
} else {