Fix syntax error in set_compiler

This commit is contained in:
Eryn Wells 2014-01-30 20:47:24 -08:00
parent 0a5db99852
commit 4ab61d591a

View file

@ -70,8 +70,8 @@ def get_bool_argument(arg):
def set_compiler(env, var, user_compiler, compilers, compiler_string=None):
if not string:
string = 'compiler'
if not compiler_string:
compiler_string = 'compiler'
if user_compiler:
if which(user_compiler):
env[var] = user_compiler