[Commits] (markie) check for debug dir for first time through

commits at osafoundation.org commits at osafoundation.org
Mon Apr 26 00:07:58 PDT 2004


Commit by: markie
Modified files:
osaf/hardhat/buildscripts/new-chandler.py 1.6 1.7

Log message:
check for debug dir for first time through


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

Index: osaf/hardhat/buildscripts/new-chandler.py
diff -u osaf/hardhat/buildscripts/new-chandler.py:1.6 osaf/hardhat/buildscripts/new-chandler.py:1.7
--- osaf/hardhat/buildscripts/new-chandler.py:1.6	Sun Apr 25 23:57:05 2004
+++ osaf/hardhat/buildscripts/new-chandler.py	Mon Apr 26 00:07:28 2004
@@ -33,15 +33,14 @@
 
     # make sure workingDir is absolute, remove it, and create it
     workingDir = os.path.abspath(workingDir)
-    print "Check for output dir... (indicates first time through)"
-    if not os.path.exists(outputDir):
+    print "Check for debug dir ... (indicates first time through)"
+    debugDir = os.path.join(workingDir, "debug")
+    if not os.path.exists(debugDir):
 
-        os.mkdir(outputDir)
         # Initialize external (hardly ever changes)
         print "Initializing external modules ..."
         log.write("- - - - external - - - - - - -\n")
-        # not needed here?    moduleData["external"] = {}
-        
+
         # Do external setup for both debug and release here
         for releaseMode in ('debug', 'release'):
             releaseModeDir = os.path.join(workingDir, releaseMode)



More information about the Commits mailing list