* util/createcerts.sh: Fix double equal (syntax-check)

This commit is contained in:
Tim Rühsen
2017-05-14 21:35:34 +02:00
parent 269fb6201d
commit e2c702571f

View File

@@ -200,9 +200,9 @@ function sign_cert {
local xopts=${4-'-days 365'};
local caconf;
if [ "$catype"x == "ROOT"x ]; then
if [ "$catype"x = "ROOT"x ]; then
caconf="./rootca.conf";
elif [ "$catype"x == "INTER"x ]; then
elif [ "$catype"x = "INTER"x ]; then
caconf="./interca.conf";
else
exit 1;