buildDotnetPackage: don't depend on invalid quoting in makeWrapper

Fixes #24387.
This commit is contained in:
Nikolay Amiantov 2017-03-27 18:23:49 +03:00
parent d1228f95e9
commit 50adc53207

View File

@ -102,8 +102,9 @@ attrsOrig @
mkdir -p "$out"/bin mkdir -p "$out"/bin
commandName="$(basename -s .exe "$(echo "$exe" | tr "[A-Z]" "[a-z]")")" commandName="$(basename -s .exe "$(echo "$exe" | tr "[A-Z]" "[a-z]")")"
makeWrapper \ makeWrapper \
"${mono}/bin/mono \"$exe\"" \ "${mono}/bin/mono" \
"$out"/bin/"$commandName" \ "$out"/bin/"$commandName" \
--add-flags "\"$exe\"" \
''${makeWrapperArgs} ''${makeWrapperArgs}
done done
done done