Mercurial > hg > graal-compiler
changeset 15122:11a591a99515
mx: fixed bug in exportlibs
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 15 Apr 2014 21:35:37 +0200 |
parents | 2af51b43a85c |
children | 7ccd2a1df0fa |
files | mxtool/mx.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx.py Tue Apr 15 19:09:27 2014 +0200 +++ b/mxtool/mx.py Tue Apr 15 21:35:37 2014 +0200 @@ -3617,7 +3617,7 @@ moduleXml.open('module', attributes={'type': 'JAVA_MODULE', 'version': '4'}) moduleXml.open('component', attributes={'name': 'NewModuleRootManager', 'LANGUAGE_LEVEL': intellijLanguageLevel, 'inherit-compiler-output': 'false'}) - moduleXml.element('output', attributes={'url': 'file://$MODULE_DIR$/bin'}) # TODO use p.output_dir() ? + moduleXml.element('output', attributes={'url': 'file://$MODULE_DIR$/bin'}) moduleXml.element('exclude-output') moduleXml.open('content', attributes={'url': 'file://$MODULE_DIR$'}) @@ -4337,9 +4337,9 @@ buf = f.read(4096) if not buf: break - d.update(buf) + d.update(buf) with open(path + '.' + suffix, 'w') as fp: - fp.write(d.hexdigest()) + print >> fp, d.hexdigest() log('created ' + path + '.' + suffix) digest(args.sha1, path, hashlib.sha1, 'sha1')