env değerlerini actions compile edilmeden tanımlamak gerekiyor...
This commit is contained in:
+3
-3
@@ -91,7 +91,8 @@ class PisiBuild:
|
|||||||
curDir = os.getcwd()
|
curDir = os.getcwd()
|
||||||
|
|
||||||
locals = globals = {}
|
locals = globals = {}
|
||||||
|
# Set needed evironment variables for actions API
|
||||||
|
self.setEnvorinment()
|
||||||
try:
|
try:
|
||||||
exec compile(self.actionScript , "error", "exec") in locals,globals
|
exec compile(self.actionScript , "error", "exec") in locals,globals
|
||||||
except SyntaxError, e:
|
except SyntaxError, e:
|
||||||
@@ -99,8 +100,7 @@ class PisiBuild:
|
|||||||
return
|
return
|
||||||
# Go to source directory
|
# Go to source directory
|
||||||
self.gotoSrcDir(globals)
|
self.gotoSrcDir(globals)
|
||||||
# Set needed evironment variables for actions API
|
|
||||||
self.setEnvorinment()
|
|
||||||
# Run configure, build and install phase
|
# Run configure, build and install phase
|
||||||
self.configureSource(locals)
|
self.configureSource(locals)
|
||||||
self.buildSource(locals)
|
self.buildSource(locals)
|
||||||
|
|||||||
Reference in New Issue
Block a user