[Commits] (markie) See if we can get path to build script

commits at osafoundation.org commits at osafoundation.org
Sun Apr 25 11:28:10 PDT 2004


Commit by: markie
Modified files:
osaf/hardhat/buildscripts/chandler-newbuild.py 1.48 1.49

Log message:
See if we can get path to build script


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

Index: osaf/hardhat/buildscripts/chandler-newbuild.py
diff -u osaf/hardhat/buildscripts/chandler-newbuild.py:1.48 osaf/hardhat/buildscripts/chandler-newbuild.py:1.49
--- osaf/hardhat/buildscripts/chandler-newbuild.py:1.48	Sun Apr 25 11:21:13 2004
+++ osaf/hardhat/buildscripts/chandler-newbuild.py	Sun Apr 25 11:27:39 2004
@@ -23,8 +23,8 @@
 def Start(hardhatScript, workingDir, cvsVintage, buildVersion, clobber, log):
 
     # find path to buildscripts
-    hardhatDir = os.dirname((hardhatScript)
-    # print "Directory of build script is " + hardhatDir + "\n"
+    hardhatDir = hardhatutil.findInPath(path,hardhatScript)
+    print "Directory of build script is " + hardhatDir + "\n"
 
     # make sure workingDir is absolute, remove it, and create it
     workingDir = os.path.abspath(workingDir)



More information about the Commits mailing list