summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2019-10-11 11:54:07 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2019-10-12 01:29:32 +0200
commit2ef2c031ce9ec730b13fca8bca808f382aab5fe4 (patch)
tree6192e2a19b19ba337277fe5e396fbd1a6f990e34 /bin
parent969cf08615a1b0b1d45a640362a7248039f4d4f1 (diff)
qtcreator: Sort SUBDIRS in lo.pro alphabetically
... in particular to have a deterministic order and see more easily what relevant effects changes to the gbuild-to-ide script have while testing those. Change-Id: I4583a8ca5a779d1d1e8aa6db7bb0295abd6154ee Reviewed-on: https://gerrit.libreoffice.org/80653 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gbuild-to-ide2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index f281f17fbfd6..b2a5f7bb714e 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -1787,7 +1787,7 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
# create meta .pro file (lists all sub projects)
qt_meta_pro_file = 'lo.pro'
try:
- subdirs = " \\\n".join(subdirs_list)
+ subdirs = " \\\n".join(sorted(subdirs_list))
content = QtCreatorIntegrationGenerator.pro_meta_template % {'subdirs': subdirs}
with open(qt_meta_pro_file, 'w+') as fmpro:
fmpro.write(content)