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