# HG changeset patch # User Gilles Duboscq # Date 1325702837 -3600 # Node ID a13d61d3910ef7117491f6582a295a0577add2c2 # Parent a2caa019ba3abdd3b2c6049a278c0615b7f18911 fix for when no vm build is explicitely selected diff -r a2caa019ba3a -r a13d61d3910e mx/commands.py --- a/mx/commands.py Wed Jan 04 13:52:46 2012 +0100 +++ b/mx/commands.py Wed Jan 04 19:47:17 2012 +0100 @@ -612,6 +612,6 @@ mx.abort('Requires Java version 1.7 or greater, got version ' + version) if (_vmSourcesAvailable): - if hasattr(opts, 'vmbuild'): + if hasattr(opts, 'vmbuild') and opts.vmbuild is not None: global _vmbuild _vmbuild = opts.vmbuild