Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r623:29b4d8f8ccf0
Date: 2012-01-26 14:47 +0200
http://bitbucket.org/pypy/buildbot/changeset/29b4d8f8ccf0/

Log:    I believe this is correct :)

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -76,7 +76,9 @@
         except OSError:
             pass
         try:
-            symlink_force(os.path.basename(self.masterdest), 'latest.html')
+            symname = os.path.join(os.path.dirname(self.masterdest),
+                                   'latest.html')
+            symlink_force(self.masterdest, symname)
         except OSError:
             pass    
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to