env değerlerini actions compile edilmeden tanımlamak gerekiyor...

This commit is contained in:
Barış Metin
2005-06-29 22:28:47 +00:00
parent 565155ac4c
commit a992e66426
+3 -3
View File
@@ -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)