[Commits] (heikki) Make sure we are in the right directory when making distributions.

commits at osafoundation.org commits at osafoundation.org
Fri Aug 27 23:03:47 PDT 2004


Commit by: heikki
Modified files:
hardhat/buildscripts/fullchandler.py 1.5 1.6

Log message:
Make sure we are in the right directory when making distributions.

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/hardhat/buildscripts/fullchandler.py.diff?r1=text&tr1=1.5&r2=text&tr2=1.6

Index: hardhat/buildscripts/fullchandler.py
diff -u hardhat/buildscripts/fullchandler.py:1.5 hardhat/buildscripts/fullchandler.py:1.6
--- hardhat/buildscripts/fullchandler.py:1.5	Fri Aug 27 11:37:39 2004
+++ hardhat/buildscripts/fullchandler.py	Fri Aug 27 23:03:46 2004
@@ -164,6 +164,9 @@
 
 def doDistribution(releaseMode, workingDir, log, outputDir, buildVersion, buildVersionEscaped, hardhatScript):
     #   Create end-user, developer distributions
+    chanDir = os.path.join(workingDir, 'chandler')
+    os.chdir(chanDir)
+    
     print "Making distribution files for " + releaseMode
     log.write(separator)
     log.write("Making distribution files for " + releaseMode + "\n")
@@ -194,7 +197,7 @@
         CopyLog(logPath, log)
     else:
         log.write(logPath + ' does not exist!\n')
-        log.write(separator)
+    log.write(separator)
 
 
 def changesInCVS(workingDir, cvsVintage, log):



More information about the Commits mailing list