From 4ab61d591a8e8e36d49e30aeb8768c5ffcf439ee Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 30 Jan 2014 20:47:24 -0800 Subject: [PATCH] Fix syntax error in set_compiler --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index d071a58..a134a29 100644 --- a/SConstruct +++ b/SConstruct @@ -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