Mercurial > hg > truffle
diff mx/mx_graal.py @ 15310:dc2dd913c47e
mx: ensure newest version of c1visualizer is being used
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Apr 2014 12:36:11 +0200 |
parents | 0c9406f9338f |
children | 404d29e8cee6 |
line wrap: on
line diff
--- a/mx/mx_graal.py Wed Apr 23 11:38:05 2014 +0200 +++ b/mx/mx_graal.py Wed Apr 23 12:36:11 2014 +0200 @@ -1306,7 +1306,7 @@ executable = join(libpath, 'c1visualizer', 'bin', 'c1visualizer') archive = join(libpath, 'c1visualizer_2014-04-22.zip') - if not exists(executable): + if not exists(executable) or not exists(archive): if not exists(archive): mx.download(archive, ['https://java.net/downloads/c1visualizer/c1visualizer_2014-04-22.zip']) zf = zipfile.ZipFile(archive, 'r')