Trovato forse problema: passaggio di arch.
This commit is contained in:
parent
9ae9585d20
commit
daff0535d3
@ -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 = []
|
||||||
|
@ -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() ]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user