[Commits] (markie) Correct path for checksums
commits at osafoundation.org
commits at osafoundation.org
Mon Apr 19 09:50:31 PDT 2004
Commit by: markie
Modified files:
osaf/hardhat/tinderbuild.py 1.63 1.64
Log message:
Correct path for checksums
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/hardhat/tinderbuild.py.diff?r1=text&tr1=1.63&r2=text&tr2=1.64
Index: osaf/hardhat/tinderbuild.py
diff -u osaf/hardhat/tinderbuild.py:1.63 osaf/hardhat/tinderbuild.py:1.64
--- osaf/hardhat/tinderbuild.py:1.63 Sun Apr 18 20:44:08 2004
+++ osaf/hardhat/tinderbuild.py Mon Apr 19 09:50:00 2004
@@ -39,8 +39,7 @@
curDir = os.path.abspath(os.getcwd())
if not os.path.exists(outputDir):
- print "outputDir doesn't exist:", outputDir
- sys.exit(1)
+ os.mkdir(outputDir)
if not os.path.exists(buildDir):
os.mkdir(buildDir)
@@ -237,8 +236,8 @@
fileOut2.write("<html><head><META HTTP-EQUIV=Pragma CONTENT=no-cache><link rel=Stylesheet href=http://www.osafoundation.org/css/OSAF.css type=text/css charset=iso-8859-1></head><body topmargin=0 leftmargin=0 marginwith=0 marginheight=0><img src=http://www.osafoundation.org/images/OSAFLogo.gif><table border=0><tr><td width=19> </td><td width=550>\n")
fileOut2.write("<h2>Chandler Build: " + nowString + " PDT (machine: " + buildName +")</h2>\n")
fileOut2.write("<p>Download <a href="+newDirName+"/"+actual+"> "+ _descriptions[x][0] +"</a>: <br>")
- fileOut2.write(" MD5 checksum: " + MD5sum(buildDir+os.sep+newDirName+os.sep+actual) + "<br>")
- fileOut2.write(" SHA checksum: " + SHAsum(buildDir+os.sep+newDirName+os.sep+actual) + "<br>")
+ fileOut2.write(" MD5 checksum: " + MD5sum(outputDir+os.sep+newDirName+os.sep+actual) + "<br>")
+ fileOut2.write(" SHA checksum: " + SHAsum(outputDir+os.sep+newDirName+os.sep+actual) + "<br>")
fileOut2.write("<p> " + _descriptions[x][1] +"</p>\n")
fileOut2.write("</td></tr></table></body></html>\n")
fileOut2.close()
More information about the Commits
mailing list