mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
makeWrapper: allow special characters in variable contents
This commit is contained in:
parent
28919e5bfa
commit
d534e38d58
@ -16,7 +16,7 @@ makeWrapper() {
|
||||
varName=${params[$((n + 1))]}
|
||||
value=${params[$((n + 2))]}
|
||||
n=$((n + 2))
|
||||
echo "export $varName=$value" >> $wrapper
|
||||
echo "export $varName='$value'" >> $wrapper
|
||||
fi
|
||||
|
||||
if test "$p" = "--unset"; then
|
||||
|
Loading…
Reference in New Issue
Block a user