aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/create_installer.py
diff options
context:
space:
mode:
authorAntti Kokko <antti.kokko@theqtcompany.com>2015-08-20 13:37:33 +0300
committerAntti Kokko <antti.kokko@theqtcompany.com>2015-08-20 10:40:51 +0000
commit3a92b2d4705bf590a4c674acfcd33822399c2b2f (patch)
treeaba6a7f2aa1d23c5597beb14d732330d677d42ca /packaging-tools/create_installer.py
parent59ff02c49f380ad04138e31bf5aef7a903c0551e (diff)
Add logic to remove previously created IFW tools folder
Always ensure that new IFW tools are used. Change-Id: I99f679e78162b62b5bd6fd96802e8cfeb91f1037 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, 2 insertions, 1 deletions
diff --git a/packaging-tools/create_installer.py b/packaging-tools/create_installer.py
index 3efe1d105..72218e412 100644
--- a/packaging-tools/create_installer.py
+++ b/packaging-tools/create_installer.py
@@ -1039,7 +1039,8 @@ 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
- elif not os.path.exists(IFW_TOOLS_DIR):
+ else:
+ bldinstallercommon.remove_tree(IFW_TOOLS_DIR)
if INSTALLER_FRAMEWORK_TOOLS:
package_url = INSTALLER_FRAMEWORK_TOOLS
else: