]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Set tool defaults in pkitool.
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Tue, 11 Mar 2008 05:58:39 +0000 (05:58 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Tue, 11 Mar 2008 05:58:39 +0000 (05:58 +0000)
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2835 e7ae566f-a301-0410-adde-c780ea21d3b5

easy-rsa/2.0/pkitool

index 5f951622e1468fea03861646e50f90369c579e8d..4e0442de195df0a00ea4a42c3a51b6b84afd1792 100755 (executable)
@@ -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=""