comparison mx/mx_graal.py @ 21589:f0300d851b16

fix typo in mx_graal.py
author Christian Wirth <christian.wirth@oracle.com>
date Fri, 29 May 2015 13:01:09 +0200
parents 40d794ac4352
children 4437f0da4b26
comparison
equal deleted inserted replaced
21588:40d794ac4352 21589:f0300d851b16
121 envPath = join(_graal_home, 'mx', 'env') 121 envPath = join(_graal_home, 'mx', 'env')
122 if vm == 'graal': 122 if vm == 'graal':
123 if exists(envPath): 123 if exists(envPath):
124 with open(envPath) as fp: 124 with open(envPath) as fp:
125 if 'DEFAULT_VM=graal' in fp.read(): 125 if 'DEFAULT_VM=graal' in fp.read():
126 mx.log('Please update the DEFAULT_VM entry in ' + envPath + ' to use "jvmti" instead of "graal" as the value') 126 mx.log('Please update the DEFAULT_VM entry in ' + envPath + ' to use "jvmci" instead of "graal" as the value')
127 vm = 'jvmci' 127 vm = 'jvmci'
128 if vm is None: 128 if vm is None:
129 if not mx.is_interactive(): 129 if not mx.is_interactive():
130 mx.abort('Need to specify VM with --vm option or DEFAULT_VM environment variable') 130 mx.abort('Need to specify VM with --vm option or DEFAULT_VM environment variable')
131 mx.log('Please select the VM to be executed from the following: ') 131 mx.log('Please select the VM to be executed from the following: ')