diff mx/mx_graal.py @ 16858:a8af2abc2039

fixed regression in mx causing problems for the SYMLINK_GRAAL_JAR feature
author Doug Simon <doug.simon@oracle.com>
date Tue, 19 Aug 2014 09:58:41 +0200
parents 9f5e33cf8d52
children bf499b4d86e9
line wrap: on
line diff
--- a/mx/mx_graal.py	Mon Aug 18 21:03:41 2014 -0700
+++ b/mx/mx_graal.py	Tue Aug 19 09:58:41 2014 +0200
@@ -556,7 +556,7 @@
         if not os.path.islink(dstLib) or not os.path.realpath(dstLib) == src:
             if exists(dstLib):
                 os.remove(dstLib)
-                os.symlink(src, dstLib)
+            os.symlink(src, dstLib)
     else:
         # do a copy and then a move to get atomic updating (on Unix)
         fd, tmp = tempfile.mkstemp(suffix='', prefix=name, dir=dst)