From daff0535d3d03fdc458fc76dc5ee5dd038e08c2e Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Mon, 21 Mar 2022 00:48:42 +0100 Subject: [PATCH] Trovato forse problema: passaggio di arch. --- loaih/__init__.py | 4 ++-- scripts/loaih-build | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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() ]