make-wrapper: fixup #14753 changes to make tests work
The tests need to expand passed variable and very carefully. I could see no other easy way than to change single-quoting in makeWrapper to double-quoting. The tests now fail with the same problem as on master...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user