summaryrefslogtreecommitdiffstats
path: root/scripts/cert-request-approve.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-08-16 11:24:49 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-08-16 11:24:49 -0500
commitc019b1257c166aed7197b6dfa78d5c0fa41a2081 (patch)
tree32aeed0a7147f4d7f3949bce3deec10541f53d2b /scripts/cert-request-approve.sh
parent13a2ffbabac5c603265b50c9fef961961651b3a4 (diff)
downloadpki-dev-c019b1257c166aed7197b6dfa78d5c0fa41a2081.zip
pki-dev-c019b1257c166aed7197b6dfa78d5c0fa41a2081.tar.gz
pki-dev-c019b1257c166aed7197b6dfa78d5c0fa41a2081.tar.xz
Fixed cert request script.
Diffstat (limited to 'scripts/cert-request-approve.sh')
-rwxr-xr-xscripts/cert-request-approve.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/cert-request-approve.sh b/scripts/cert-request-approve.sh
index 3bee8f7..c48e197 100755
--- a/scripts/cert-request-approve.sh
+++ b/scripts/cert-request-approve.sh
@@ -2,6 +2,10 @@
INPUT=$1
+if [ "$INPUT" == "" ]; then
+ INPUT=cert-request-review.xml
+fi
+
SRC_DIR=`cd ../.. ; pwd`
INSTANCE_NAME=ca-master
CLIENT_CERT_DIR=/var/lib/pki/$INSTANCE_NAME/certs