diff mx/commands.py @ 11428:6f58979d0755

Merged
author Christian Wirth <christian.wirth@oracle.com>
date Tue, 27 Aug 2013 09:34:55 +0200
parents ece40b452e65
children 94779c895aad
line wrap: on
line diff
--- a/mx/commands.py	Mon Aug 26 18:25:40 2013 +0200
+++ b/mx/commands.py	Tue Aug 27 09:34:55 2013 +0200
@@ -680,7 +680,7 @@
 
     if cwd is None:
         cwd = _vm_cwd
-    elif _vm_cwd != cwd:
+    elif _vm_cwd is not None and _vm_cwd != cwd:
         mx.abort("conflicting working directories: do not set --vmcwd for this command")
 
     build = vmbuild if vmbuild is not None else _vmbuild if _vmSourcesAvailable else 'product'