1
0

Trovato forse problema: passaggio di arch.

This commit is contained in:
Emiliano Vavassori 2022-03-21 00:48:42 +01:00
parent 9ae9585d20
commit daff0535d3
2 changed files with 3 additions and 3 deletions

View File

@ -29,12 +29,12 @@ class Build(object):
languagepart = "." languagepart = "."
if ',' in self.language: if ',' in self.language:
languagepart += self.language.replace(',', '-') 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'] = ('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' 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 # Creating a tempfile
self.builddir = tempfile.mkdtemp() self.builddir = tempfile.mkdtemp()
self.tarballs = [] self.tarballs = []

View File

@ -18,7 +18,7 @@ def build(arch, language, offline, portable, updatable, download, storage, check
# Parsing options # Parsing options
if arch.lower() == 'all': if arch.lower() == 'all':
# We need to build it twice. # We need to build it twice.
arches = [ 'x86', 'x86_64' ] arches = [ u'x86', u'x86_64' ]
else: else:
arches = [ arch.lower() ] arches = [ arch.lower() ]