Index: easyrsa
===================================================================
--- easyrsa.orig
+++ easyrsa
@@ -4012,7 +4012,7 @@ vars_setup() {
# Removed for basic sanity - To re-enable provide a REASON
#prog_file2="$(which -- "$prog_file" 2>/dev/null)" && prog_file="$prog_file2"
#prog_file2="$(readlink -f "$prog_file" 2>/dev/null)" && prog_file="$prog_file2"
- prog_dir="${prog_file%/*}"
+ prog_dir="/etc/easy-rsa"
if [ "$prog_dir" = . ] || [ "$prog_dir" = "$PWD" ]; then
prog_in_pwd=1
else