[Commits] (markie) Creates releaseModeDir if not exists

commits at osafoundation.org commits at osafoundation.org
Sat Apr 24 21:06:26 PDT 2004


Commit by: markie
Modified files:
osaf/hardhat/buildscripts/chandler-newbuild.py 1.31 1.32

Log message:
Creates releaseModeDir if not exists


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

Index: osaf/hardhat/buildscripts/chandler-newbuild.py
diff -u osaf/hardhat/buildscripts/chandler-newbuild.py:1.31 osaf/hardhat/buildscripts/chandler-newbuild.py:1.32
--- osaf/hardhat/buildscripts/chandler-newbuild.py:1.31	Sat Apr 24 16:28:00 2004
+++ osaf/hardhat/buildscripts/chandler-newbuild.py	Sat Apr 24 21:05:55 2004
@@ -42,6 +42,8 @@
     # Do external setup for both debug and release here
     for releaseMode in ('debug', 'release'):
         releaseModeDir = os.path.join(workingDir, releaseMode)
+        if not os.path.existsreleaseModeDir:
+            os.mkdir(releaseModeDir)
         os.chdir(releaseModeDir)
         if releaseMode == "debug":
             dbgStr = "DEBUG=1"



More information about the Commits mailing list