diff --git a/pkgs/build-support/cc-wrapper/utils.sh b/pkgs/build-support/cc-wrapper/utils.sh index 481d642f9674..aba5f3295a98 100644 --- a/pkgs/build-support/cc-wrapper/utils.sh +++ b/pkgs/build-support/cc-wrapper/utils.sh @@ -34,7 +34,7 @@ expandResponseParams() { @*) if [ -e "${p:1}" ]; then args=$(<"${p:1}") - eval 'for arg in '$args'; do params+=("$arg"); done' + eval 'for arg in '${args//$/\\$}'; do params+=("$arg"); done' else params+=("$p") fi