archrelease: copy trunk to extra-x86_64
[arch-packages.git] / easy-rsa / trunk / 0001-fix-paths.patch
blob63ef539195da14ee3fe9da5b4719fb689e9a57c9
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>
10 ---
11 easyrsa | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
14 diff --git a/easyrsa b/easyrsa
15 index 11d2357..c665ab7 100755
16 --- a/easyrsa
17 +++ b/easyrsa
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"