Merge pull request #115479 from thefloweringash/cc-wrapper-quote

cc-wrapper: remove quoting of response file
This commit is contained in:
Jörg Thalheim 2021-03-09 08:02:27 +00:00 committed by GitHub
commit c5eea46e60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,10 +200,10 @@ PATH="$path_backup"
# Old bash workaround, see above.
if (( "${NIX_CC_USE_RESPONSE_FILE:-@use_response_file_by_default@}" >= 1 )); then
exec @prog@ "@<(printf "%q\n" \
exec @prog@ @<(printf "%q\n" \
${extraBefore+"${extraBefore[@]}"} \
${params+"${params[@]}"} \
${extraAfter+"${extraAfter[@]}"})"
${extraAfter+"${extraAfter[@]}"})
else
exec @prog@ \
${extraBefore+"${extraBefore[@]}"} \