[Commits] (markie) Stupid error,
~/tinderbuild was being created already!
commits at osafoundation.org
commits at osafoundation.org
Sun Apr 25 23:54:12 PDT 2004
Commit by: markie
Modified files:
osaf/hardhat/buildscripts/new-chandler.py 1.4 1.5
Log message:
Stupid error, ~/tinderbuild was being created already!
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/hardhat/buildscripts/new-chandler.py.diff?r1=text&tr1=1.4&r2=text&tr2=1.5
Index: osaf/hardhat/buildscripts/new-chandler.py
diff -u osaf/hardhat/buildscripts/new-chandler.py:1.4 osaf/hardhat/buildscripts/new-chandler.py:1.5
--- osaf/hardhat/buildscripts/new-chandler.py:1.4 Sun Apr 25 23:43:31 2004
+++ osaf/hardhat/buildscripts/new-chandler.py Sun Apr 25 23:53:41 2004
@@ -33,16 +33,9 @@
# make sure workingDir is absolute, remove it, and create it
workingDir = os.path.abspath(workingDir)
- print "Check for working dir..."
- if not os.path.exists(workingDir):
- print "working dir does not exist, create it."
- os.mkdir(workingDir)
- os.chdir(workingDir)
+ print "Check for output dir... (indicates first time through"
+ if not os.path.exists(os.path.join(workingDir), "output"):
- # remove outputDir and create it
- outputDir = os.path.join(workingDir, "output")
- if os.path.exists(outputDir):
- hardhatutil.rmdirRecursive(outputDir)
os.mkdir(outputDir)
# Initialize external (hardly ever changes)
print "Initializing external modules ..."
More information about the Commits
mailing list