aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/createSourcePackages.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/createSourcePackages.py b/scripts/createSourcePackages.py
index 1385de943a..1e1bdead92 100755
--- a/scripts/createSourcePackages.py
+++ b/scripts/createSourcePackages.py
@@ -99,9 +99,9 @@ def main():
args = parse_arguments()
base_repo_name = args.name if args.name else "qtcreator"
if not args.name and not args.modules: # default Qt Creator repository
- qbs_path = os.path.join('src', 'shared', 'qbs')
- if os.path.exists(os.path.join(args.repo, qbs_path)):
- args.modules = [qbs_path]
+ submodules = [os.path.join('src', 'shared', 'qbs'),
+ os.path.join('src', 'tools', 'perfparser')]
+ args.modules = [path for path in submodules if os.path.exists(os.path.join(args.repo, path, '.git'))]
repos = [(base_repo_name, args.repo, '')]
for module in args.modules:
repos += [(module, os.path.join(args.repo, module), module + os.sep)]