aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-03-11 05:58:39 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-03-11 05:58:39 +0000
commitd4fb6d493a040c354d4d1f1a089f017db7efdb3d (patch)
treec7335580fa5afe02d88f576d36b7e2dc178200ba
parentFirst working version of XGUI inclusion. (diff)
downloadopenvpn-d4fb6d493a040c354d4d1f1a089f017db7efdb3d.tar.xz
Set tool defaults in pkitool.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2835 e7ae566f-a301-0410-adde-c780ea21d3b5
-rwxr-xr-xeasy-rsa/2.0/pkitool5
1 files changed, 5 insertions, 0 deletions
diff --git a/easy-rsa/2.0/pkitool b/easy-rsa/2.0/pkitool
index 5f95162..4e0442d 100755
--- a/easy-rsa/2.0/pkitool
+++ b/easy-rsa/2.0/pkitool
@@ -118,6 +118,11 @@ usage()
echo " ./$PROGNAME client-new"
}
+# Set tool defaults
+[ -n "$OPENSSL" ] || export OPENSSL="openssl"
+[ -n "$PKCS11TOOL" ] || export PKCS11TOOL="pkcs11-tool"
+[ -n "$GREP" ] || export GREP="grep"
+
# Set defaults
DO_REQ="1"
REQ_EXT=""