From 9cf311948922b8899d14ca821e3a14fb9470ca90 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Thu, 5 Jan 2023 01:14:28 +0100 Subject: [PATCH] Correzione sintassi in build. --- loaih/build.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/loaih/build.py b/loaih/build.py index a7a2a04..279c3c6 100644 --- a/loaih/build.py +++ b/loaih/build.py @@ -357,7 +357,7 @@ class Build(loaih.RemoteBuild): 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.""" # If called with a pointed version, no generalize and link necessary. if not self.branch_version: @@ -367,6 +367,9 @@ class Build(loaih.RemoteBuild): if self.query == 'daily' or self.query == 'prerelease': return + if chdir == 'default': + chdir = self.full_path + appimagefilename = {} zsyncfilename = {}