1
0

Correzione sintassi in build.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Emiliano Vavassori 2023-01-05 01:14:28 +01:00
parent cbaf6b2e3c
commit 9cf3119489

View File

@ -357,7 +357,7 @@ class Build(loaih.RemoteBuild):
subprocess.run(shlex.split(f"cp -f {file} {self.full_path}")) subprocess.run(shlex.split(f"cp -f {file} {self.full_path}"))
def generalize_and_link(self, chdir = self.full_path): def generalize_and_link(self, chdir = 'default'):
"""Creates the needed generalized files if needed.""" """Creates the needed generalized files if needed."""
# If called with a pointed version, no generalize and link necessary. # If called with a pointed version, no generalize and link necessary.
if not self.branch_version: if not self.branch_version:
@ -367,6 +367,9 @@ class Build(loaih.RemoteBuild):
if self.query == 'daily' or self.query == 'prerelease': if self.query == 'daily' or self.query == 'prerelease':
return return
if chdir == 'default':
chdir = self.full_path
appimagefilename = {} appimagefilename = {}
zsyncfilename = {} zsyncfilename = {}