From 9eeae12baf5c89c69b31ea9335495e5c885ebc94 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 29 Jan 2020 20:17:13 +0100 Subject: [PATCH] Fixed undfined variable Signed-off-by: Dimitris Zlatanidis --- slpkg/pkg/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/pkg/build.py b/slpkg/pkg/build.py index ffa56925..81eeb46b 100644 --- a/slpkg/pkg/build.py +++ b/slpkg/pkg/build.py @@ -108,7 +108,7 @@ class BuildPackage: log_end(self.build_logs, self.log_file, sum_time) print(f"Total build time for the package {self.prgnam} : {sum_time}\n") else: - subprocess.call(f"{' '.join(pass_ver)} ./{self.prgnam}.SlackBuild", shell=True) + subprocess.call(f"{' '.join(pass_var)} ./{self.prgnam}.SlackBuild", shell=True) os.chdir(self.path) except KeyboardInterrupt: # (OSError, IOError): self.msg.pkg_not_found("\n", self.prgnam, "Wrong file", "\n")