mirror of
https://github.com/mirror/wget.git
synced 2026-08-19 09:23:27 +08:00
* util/createcerts.sh: Fix double equal (syntax-check)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user