aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/create_installer.py
diff options
context:
space:
mode:
authorAntti Kokko <antti.kokko@theqtcompany.com>2015-08-28 11:21:32 +0300
committerAntti Kokko <antti.kokko@theqtcompany.com>2015-08-28 08:54:43 +0000
commitbd6a304395e60a50dc9c689cf9e470586a769a5c (patch)
treec237d616fecf956b541dcb6f7bec8e2edcf9715e /packaging-tools/create_installer.py
parentca0d851a5b27e907b9e8696f3e669020c604c5ba (diff)
Revert logic to remove previously created IFW tools folder
- Caused regression in offline build Change-Id: I691931e950b4a75d844ea3f6a3a817e44274d627 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
Diffstat (limited to 'packaging-tools/create_installer.py')
-rw-r--r--packaging-tools/create_installer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging-tools/create_installer.py b/packaging-tools/create_installer.py
index d27ba2f90..160b0397d 100644
--- a/packaging-tools/create_installer.py
+++ b/packaging-tools/create_installer.py
@@ -1039,8 +1039,7 @@ def install_ifw_tools():
options.incremental_mode = INCREMENTAL_MODE
tools_dir_temp = bld_ifw_tools.build_ifw(options)
tools_bin_path = SCRIPT_ROOT_DIR + os.sep + tools_dir_temp
- else:
- bldinstallercommon.remove_tree(IFW_TOOLS_DIR)
+ elif not os.path.exists(IFW_TOOLS_DIR):
if INSTALLER_FRAMEWORK_TOOLS:
package_url = INSTALLER_FRAMEWORK_TOOLS
else: