summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-06-19 17:39:40 -0700
committerJohn Stebbins <[email protected]>2018-06-19 17:45:31 -0700
commit695581c81be3a8836d2628bd66bb251dc15b762b (patch)
tree76c57590a9c5fda0e905e265f12d383eba57481e /scripts
parentaabf47505926ab098f5f31bcf8ef14f044fea190 (diff)
flatpak: improve manifest creation script
make script compatible with multiple modules
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create_flatpak_manifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create_flatpak_manifest.py b/scripts/create_flatpak_manifest.py
index 59288dcd9..4800db176 100755
--- a/scripts/create_flatpak_manifest.py
+++ b/scripts/create_flatpak_manifest.py
@@ -40,7 +40,7 @@ class FlatpakManifest:
self.finish_args = self.manifest["finish-args"]
self.modules = self.manifest["modules"]
- self.hbmodule = self.modules[0]
+ self.hbmodule = self.modules[len(self.modules) - 1]
self.sources = [None]
self.hbmodule["sources"] = self.sources