diff --git a/loaih/__init__.py b/loaih/__init__.py index 180c5d7..f6efe2d 100644 --- a/loaih/__init__.py +++ b/loaih/__init__.py @@ -29,12 +29,12 @@ class Build(object): languagepart = "." if ',' in self.language: languagepart += self.language.replace(',', '-') + else: + languagepart += self.language self.appimagefilename[u'x86'] = ('LibreOffice' if not self.query == 'daily' else 'LibreOfficeDev') + '-' + v.version + languagepart + ('.help' if self.offline_help else '') + '-x86.AppImage' self.appimagefilename[u'x86_64'] = ('LibreOffice' if not self.query == 'daily' else 'LibreOfficeDev') + '-' + v.version + languagepart + ('.help' if self.offline_help else '') + '-x86_64.AppImage' - print("DEBUG:") - print(self.appimagefilename) # Creating a tempfile self.builddir = tempfile.mkdtemp() self.tarballs = [] diff --git a/scripts/loaih-build b/scripts/loaih-build index dfbc13a..2e9bcf6 100644 --- a/scripts/loaih-build +++ b/scripts/loaih-build @@ -18,7 +18,7 @@ def build(arch, language, offline, portable, updatable, download, storage, check # Parsing options if arch.lower() == 'all': # We need to build it twice. - arches = [ 'x86', 'x86_64' ] + arches = [ u'x86', u'x86_64' ] else: arches = [ arch.lower() ]