[Commits] (markie) path not global

commits at osafoundation.org commits at osafoundation.org
Sat Apr 24 14:17:04 PDT 2004


Commit by: markie
Modified files:
osaf/hardhat/buildscripts/chandler-newbuild.py 1.17 1.18

Log message:
path not global


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

Index: osaf/hardhat/buildscripts/chandler-newbuild.py
diff -u osaf/hardhat/buildscripts/chandler-newbuild.py:1.17 osaf/hardhat/buildscripts/chandler-newbuild.py:1.18
--- osaf/hardhat/buildscripts/chandler-newbuild.py:1.17	Sat Apr 24 14:15:36 2004
+++ osaf/hardhat/buildscripts/chandler-newbuild.py	Sat Apr 24 14:16:34 2004
@@ -16,6 +16,7 @@
 
 
 treeName = "Chandler"
+path = os.environ.get('PATH', os.environ.get('path'))
 cvsProgram = hardhatutil.findInPath(path, "cvs")
 
 def Start(hardhatScript, workingDir, cvsVintage, buildVersion, clobber, log):
@@ -125,8 +126,6 @@
     log.write("Performing " + mode + " build, version " + buildVersion + "\n")
     buildVersionEscaped = "\'" + buildVersion + "\'"
     buildVersionEscaped = buildVersionEscaped.replace(" ", "|")
-
-    path = os.environ.get('PATH', os.environ.get('path'))
 
     modeDir = os.path.join(workingDir, mode)
 



More information about the Commits mailing list