summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2012-12-11 09:21:04 +0100
committerEike Ziller <eike.ziller@digia.com>2012-12-11 10:13:57 +0100
commit5a51b8ffc4bfbd4bca92f3a16920d6c8e95d2b43 (patch)
tree8ab37551c2850358d8629e9f0a408209fc052ef3 /scripts
parent1b916719d076114a01d509303a591e45863ed3d0 (diff)
downloadqt-creator-5a51b8ffc4bfbd4bca92f3a16920d6c8e95d2b43.tar.gz
Windows: Fix deploy script.
Change-Id: I4180bdc173235497f40da2df1ecd5b20048745e5 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deployqt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/deployqt.py b/scripts/deployqt.py
index d3848930fc..67e8f5667e 100755
--- a/scripts/deployqt.py
+++ b/scripts/deployqt.py
@@ -69,10 +69,10 @@ def is_debug(fpath):
# which all have the number at different places
coredebug = re.compile(r'Qt[1-9]?Core[1-9]?d[1-9]?.dll')
# bootstrap exception
- if re.search(fpath):
+ if coredebug.search(fpath):
return True
output = subprocess.check_output(['dumpbin', '/imports', fpath])
- return re.search(output)
+ return coredebug.search(output)
def is_debug_build(install_dir):
return is_debug(os.path.join(install_dir, 'bin', 'qtcreator.exe'))