makeWrapper: allow special characters in variable contents

This commit is contained in:
Marius Bakke 2016-04-16 01:10:55 +01:00
parent 28919e5bfa
commit d534e38d58

View File

@ -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