From 7723a632926bb363ea414cccc6f60e8a2bd0a70e Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Tue, 13 Sep 2016 14:45:03 +0200 Subject: [PATCH] bug fix for python script compilation --- src/compilation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compilation.py b/src/compilation.py index 0c3e0cd..5b4fb1b 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -376,7 +376,8 @@ CC=\\"hack_libtool\\"%g" libtool''' 'script': src.printcolors.printcLabel(script) }, 4) try: import imp - pymodule = imp.load_source(self.product + "_compile_script", script) + product = self.product_info.name + pymodule = imp.load_source(product + "_compile_script", script) retcode = pymodule.compil(self.config, self, self.logger) except: __, exceptionValue, exceptionTraceback = sys.exc_info() -- 2.39.2