From: Samuli Seppänen <sam...@openvpn.net> Original $KEY_CONFIG variable generation in broke if $EASY_RSA had whitespace in it. This patch fixes the issue in a POSIX-compliant way.
Signed-off-by: Tanel Rebane <ta...@rebane.se> Signed-off-by: Samuli Seppänen <sam...@openvpn.net> Tested-by: Samuli Seppänen <sam...@openvpn.net> --- easy-rsa/2.0/vars | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/easy-rsa/2.0/vars b/easy-rsa/2.0/vars index 2ea1ced..780ecf6 100755 --- a/easy-rsa/2.0/vars +++ b/easy-rsa/2.0/vars @@ -26,7 +26,7 @@ export GREP="grep" # This variable should point to # the openssl.cnf file included # with easy-rsa. -export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA` +export KEY_CONFIG=$("$EASY_RSA"/whichopensslcnf "$EASY_RSA") # Edit this variable to point to # your soon-to-be-created key -- 1.7.4.1