summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/spack/env/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc
index 6b6073db43..2888c28c48 100755
--- a/lib/spack/env/cc
+++ b/lib/spack/env/cc
@@ -154,7 +154,7 @@ fi
input_command="$@"
if [ "$mode" == vcheck ] ; then
- exec "${input_command}"
+ exec ${command} ${input_command}
fi
#