[Commits] (markie) different check for env vars
commits at osafoundation.org
commits at osafoundation.org
Sat Apr 24 16:07:19 PDT 2004
Commit by: markie
Modified files:
osaf/hardhat/buildscripts/chandler-newbuild.py 1.26 1.27
Log message:
different check for env vars
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/hardhat/buildscripts/chandler-newbuild.py.diff?r1=text&tr1=1.26&r2=text&tr2=1.27
Index: osaf/hardhat/buildscripts/chandler-newbuild.py
diff -u osaf/hardhat/buildscripts/chandler-newbuild.py:1.26 osaf/hardhat/buildscripts/chandler-newbuild.py:1.27
--- osaf/hardhat/buildscripts/chandler-newbuild.py:1.26 Sat Apr 24 15:56:10 2004
+++ osaf/hardhat/buildscripts/chandler-newbuild.py Sat Apr 24 16:06:48 2004
@@ -53,7 +53,6 @@
# Find out if the initialization was ever done
try:
-
extModuleDir = os.path.join(releaseModeDir, "external")
intModuleDir = os.path.join(releaseModeDir, "internal")
version = getVersion(os.path.join(extModuleDir, "Makefile"))
@@ -73,10 +72,10 @@
# Now need to do the setup for external - "expand" and "make"
os.chdir(extModuleDir)
- os.putenv("BUILD_ROOT", os.path.join(outputDir, "debug", "external") )
+ os.putenv("BUILD_ROOT", extModuleDir)
log.write("Environment variables: \n")
- log.write(os.getenv("BUILD_ROOT") + "\n")
- log.write(os.getent("GCJ_HOME") + "\n")
+ log.write("BUILD_ROOT = " + buildenv["BUILD_ROOT"] + "\n")
+ log.write("GCJ_HOME = " + buildenv["GCJ_HOME"] + "\n")
print "Building " + relStr
log.write("- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n")
More information about the Commits
mailing list