1
0

Correzione flag offline_help.

This commit is contained in:
Emiliano Vavassori 2022-03-21 01:14:28 +01:00
parent 71edb785d2
commit e44a70442f

View File

@ -148,11 +148,11 @@ class Build(object):
if self.language == 'standard': if self.language == 'standard':
for lang in Build.LANGSTD: for lang in Build.LANGSTD:
buildtarballs.extend([ x for x in self.tarballs[arch] if ('langpack' + lang) in x ]) buildtarballs.extend([ x for x in self.tarballs[arch] if ('langpack' + lang) in x ])
if self.offlinehelp: if self.offline_help:
buildtarballs.extend([ x for x in self.tarballs[arch] if ('helppack' + lang) in x ]) buildtarballs.extend([ x for x in self.tarballs[arch] if ('helppack' + lang) in x ])
else: else:
# In any other cases, we build with all languages # In any other cases, we build with all languages
if not self.offlinehelp: if not self.offline_help:
buildtarballs.extend([ x for x in self.tarballs[arch] if 'langpack' in x ]) buildtarballs.extend([ x for x in self.tarballs[arch] if 'langpack' in x ])
else: else:
# We need also all help. Let's replace buildtarball with the # We need also all help. Let's replace buildtarball with the