[Commits] (markie) Another way to set environment variable (thanks to python.faqts)

commits at osafoundation.org commits at osafoundation.org
Sat Apr 24 22:49:33 PDT 2004


Commit by: markie
Modified files:
osaf/hardhat/buildscripts/chandler-newbuild.py 1.37 1.38

Log message:
Another way to set environment variable (thanks to python.faqts)


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/hardhat/buildscripts/chandler-newbuild.py.diff?r1=text&tr1=1.37&r2=text&tr2=1.38

Index: osaf/hardhat/buildscripts/chandler-newbuild.py
diff -u osaf/hardhat/buildscripts/chandler-newbuild.py:1.37 osaf/hardhat/buildscripts/chandler-newbuild.py:1.38
--- osaf/hardhat/buildscripts/chandler-newbuild.py:1.37	Sat Apr 24 22:40:59 2004
+++ osaf/hardhat/buildscripts/chandler-newbuild.py	Sat Apr 24 22:49:02 2004
@@ -79,7 +79,7 @@
                 os.chdir(extModuleDir)
                 log.write("Environment variables: \n")
                 log.write("GCJ_HOME = " + os.environ['GCJ_HOME'] + "\n")
-                os.putenv("BUILD_ROOT", extModuleDir)
+                os.environ["BUILD_ROOT"]="extModuleDir"
                 log.write("BUILD_ROOT = " + os.environ['BUILD_ROOT'] + "\n")
                 
                 print "Building " + relStr



More information about the Commits mailing list