Merge pull request #1032 from eschnett/eschnett/cc-quotes
Add quotes around file name
This commit is contained in:
commit
f9efb746d7
1 changed files with 2 additions and 2 deletions
4
lib/spack/env/cc
vendored
4
lib/spack/env/cc
vendored
|
@ -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[@]}"
|
||||
|
|
Loading…
Reference in a new issue