remove bashism in conditions
@@ -133,7 +133,7 @@ EOF
[ -f server.cnf ] || fatal "cannot create openssl configuration"
-if [ ! -f "$SVR_BASE.pem" ] || [ $RECREATE -eq 1 ]; then
+if [ ! -f "$SVR_BASE.pem" -o $RECREATE -eq 1 ]; then
openssl req \
-new -x509 \
-key "$SVR_BASE.key" \
@@ -166,7 +166,7 @@ EOF
[ -f client.cnf ] || fatal "cannot create openssl configuration"
-if [ ! -f "$CTL_BASE.pem" ] || [ $RECREATE -eq 1 ]; then
+if [ ! -f "$CTL_BASE.pem" -o $RECREATE -eq 1 ]; then
openssl x509 \
-addtrust serverAuth \
-in "$SVR_BASE.pem" \
