1 From 49facdddb343cefb0cb85bcc7eb52fa01db1f377 Mon Sep 17 00:00:00 2001
2 From: Christian Hesse <mail@eworm.de>
3 Date: Thu, 28 Sep 2017 11:08:39 +0200
4 Subject: [PATCH 1/1] fix paths
6 We have the easyrsa executable in /usr/bin/ - so use use current working
7 directory, not executable path.
9 Signed-off-by: Christian Hesse <mail@eworm.de>
12 1 file changed, 2 insertions(+), 2 deletions(-)
14 diff --git a/easyrsa b/easyrsa
15 index 11d2357..c665ab7 100755
18 @@ -1660,9 +1660,9 @@ Note: using Easy-RSA configuration from: $vars"
21 # Set defaults, preferring existing env-vars if present
22 - set_var EASYRSA "$prog_dir"
23 + set_var EASYRSA "$PWD"
24 set_var EASYRSA_OPENSSL openssl
25 - set_var EASYRSA_PKI "$PWD/pki"
26 + set_var EASYRSA_PKI "$EASYRSA/pki"
27 set_var EASYRSA_DN cn_only
28 set_var EASYRSA_REQ_COUNTRY "US"
29 set_var EASYRSA_REQ_PROVINCE "California"