From d534e38d58fb8c91236db5aff6dd2a1b8566bfa2 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 16 Apr 2016 01:10:55 +0100 Subject: [PATCH] makeWrapper: allow special characters in variable contents --- pkgs/build-support/setup-hooks/make-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/setup-hooks/make-wrapper.sh b/pkgs/build-support/setup-hooks/make-wrapper.sh index 7d0f88abb855..d3db0b64bd53 100644 --- a/pkgs/build-support/setup-hooks/make-wrapper.sh +++ b/pkgs/build-support/setup-hooks/make-wrapper.sh @@ -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