From: samuli@...515... Date: Thu, 18 Aug 2011 10:25:34 +0300 Message-Id: <1313652334-15914-1-git-send-email-samuli@...515...> In-Reply-To: <4E4B873F.6080009@...515...> References: <4E4B873F.6080009@...515...> MIME-Version: 1.0 Subject: [Openvpn-devel] [PATCH] Added whitespace handling for $KEY_CONFIG variable in easy-rsa/2.0/vars List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To: openvpn-devel@lists.sourceforge.net From: Samuli Sepp=C3=A4nen Original $KEY_CONFIG variable generation in broke if $EASY_RSA had whitespa= ce in it. This patch fixes the issue in a POSIX-compliant way. Signed-off-by: Tanel Rebane Signed-off-by: Samuli Sepp=C3=A4nen Tested-by: Samuli Sepp=C3=A4nen --- 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=3D"grep" # This variable should point to # the openssl.cnf file included # with easy-rsa. -export KEY_CONFIG=3D`$EASY_RSA/whichopensslcnf $EASY_RSA` +export KEY_CONFIG=3D$("$EASY_RSA"/whichopensslcnf "$EASY_RSA") =20 # Edit this variable to point to # your soon-to-be-created key --=20 1.7.4.1