[Libreoffice-commits] core.git: bin/gbuild-to-ide

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 11 23:30:49 UTC 2019


 bin/gbuild-to-ide |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ef2c031ce9ec730b13fca8bca808f382aab5fe4
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Fri Oct 11 11:54:07 2019 +0200
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Sat Oct 12 01:29:32 2019 +0200

    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 at posteo.de>

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)


More information about the Libreoffice-commits mailing list