aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-12-01 09:24:05 +0100
committerEike Ziller <eike.ziller@qt.io>2021-12-01 09:24:05 +0100
commitd62d0f305b06a29940503626dd5a5a027fa176a9 (patch)
tree2caa5b0010521990f7b9ed64daf97f9374b7a2bc /scripts
parent333374e6a9f54e97fa6507cae95b8604d30912e0 (diff)
parentb6fe15294eb9bed910f6c610685c84b12300d6b6 (diff)
Merge remote-tracking branch 'origin/6.0'
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build_plugin.py b/scripts/build_plugin.py
index 16a51efed5..f54cf64fd8 100755
--- a/scripts/build_plugin.py
+++ b/scripts/build_plugin.py
@@ -154,7 +154,8 @@ def package(args, paths):
common.check_print_call(['7z', 'a', '-mmt2',
os.path.join(paths.result, args.name + '_dev.7z'), '*'],
paths.dev_install)
- if args.with_debug_info:
+ # check for existence - the DebugInfo install target doesn't work for telemetry plugin
+ if args.with_debug_info and os.path.exists(paths.debug_install):
common.check_print_call(['7z', 'a', '-mmt2',
os.path.join(paths.result, args.name + '-debug.7z'), '*'],
paths.debug_install)