diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-06-18 08:57:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-18 08:57:18 -0700 |
commit | f9efb746d7f547d972fbe3d268b3aa67df478e55 (patch) | |
tree | ac80fd135ece7ddc9f8fe76a2432d0beeccd0b36 | |
parent | 62b2f2a7c9d54fb864e6aae91f1f47a1b35d1828 (diff) | |
parent | 2a4d440003c467f34b072d3128ce4869dc5cd5d2 (diff) | |
download | spack-f9efb746d7f547d972fbe3d268b3aa67df478e55.tar.gz spack-f9efb746d7f547d972fbe3d268b3aa67df478e55.tar.bz2 spack-f9efb746d7f547d972fbe3d268b3aa67df478e55.tar.xz spack-f9efb746d7f547d972fbe3d268b3aa67df478e55.zip |
Merge pull request #1032 from eschnett/eschnett/cc-quotes
Add quotes around file name
-rwxr-xr-x | lib/spack/env/cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc index 1e405ae6e9..bf98b4c354 100755 --- a/lib/spack/env/cc +++ b/lib/spack/env/cc @@ -324,8 +324,8 @@ fi if [[ $SPACK_DEBUG == TRUE ]]; then input_log="$SPACK_DEBUG_LOG_DIR/spack-cc-$SPACK_SHORT_SPEC.in.log" output_log="$SPACK_DEBUG_LOG_DIR/spack-cc-$SPACK_SHORT_SPEC.out.log" - echo "[$mode] $command $input_command" >> $input_log - echo "[$mode] ${full_command[@]}" >> $output_log + echo "[$mode] $command $input_command" >> "$input_log" + echo "[$mode] ${full_command[@]}" >> "$output_log" fi exec "${full_command[@]}" |