create directory structure properly

This commit is contained in:
Jan Dittberner 2011-05-04 22:37:17 +02:00
parent 973d7c9aab
commit 1448b51767

View file

@ -29,7 +29,7 @@ if [ -d "$1" ]; then
fi
CADIR="$1"
mkdir -p "${CADIR}/{certs,crl,newcerts,private}"
mkdir -p "${CADIR}"/{certs,crl,newcerts,private}
cp "$2" "${CADIR}/private/ca.key.pem"
cp "$3" "${CADIR}/ca.crt.pem"