Merge pull request #1032 from eschnett/eschnett/cc-quotes
Add quotes around file name
This commit is contained in:
		
							
								
								
									
										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[@]}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user