diff options
author | Eike Ziller <eike.ziller@qt.io> | 2021-11-29 14:50:24 +0100 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2021-11-30 05:09:49 +0000 |
commit | fe710cadf9a73c05cc251a30ca1411b614d7fbd6 (patch) | |
tree | 04d7774bd1848c9e4f160ad55eccc80e700da144 | |
parent | 483a0158e82d6cf47f4369e446764514fc6fafe1 (diff) |
Work around error when building telemetry plugin
Change-Id: Ia4a4314180b561c2a45446b1ae550c3164612b10
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
-rwxr-xr-x | scripts/build_plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build_plugin.py b/scripts/build_plugin.py index 7ba55ef38d..73d715331a 100755 --- a/scripts/build_plugin.py +++ b/scripts/build_plugin.py @@ -148,7 +148,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) |