From eef4fa82c169d00b0b05f1c3ac2b1081b968c9e7 Mon Sep 17 00:00:00 2001 From: Tobias Bergkvist Date: Thu, 27 May 2021 01:47:40 +0200 Subject: [PATCH] make-c-wrapper: Fix typo in generated code documentation --- pkgs/build-support/setup-hooks/make-c-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/setup-hooks/make-c-wrapper.sh b/pkgs/build-support/setup-hooks/make-c-wrapper.sh index 2c67d9ab16e6..6f024b3356c3 100644 --- a/pkgs/build-support/setup-hooks/make-c-wrapper.sh +++ b/pkgs/build-support/setup-hooks/make-c-wrapper.sh @@ -50,7 +50,7 @@ for ((n = 1; n < ${#args[*]}; n += 1)); do escape_string_literal "${args[$((n + 1))]}" key="${result}" printf "%s\n" " unsetenv(\"$key\");" - docs="${docs:+$docs$'\n'}unsetenv(\"${key}=${value}\", 0);" + docs="${docs:+$docs$'\n'}unsetenv(\"${key}=${value}\");" n=$((n + 1)) elif [[ "$p" == "--argv0" ]]; then escape_string_literal "${args[$((n + 1))]}"