From 96dc38eefc05f9e588b22a721884eed41292456b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 17 Mar 2016 13:41:49 -0400 Subject: [PATCH] openssl-ssl-certificate.sh: fix test POSIX compatibility The == operator is not in POSIX and will fail with some shells. --- openssl-ssl-certificate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl-ssl-certificate.sh b/openssl-ssl-certificate.sh index dd65c96..49fbd34 100644 --- a/openssl-ssl-certificate.sh +++ b/openssl-ssl-certificate.sh @@ -8,7 +8,7 @@ if [ "$1" != "--force" -a -f $CERT ]; then exit 0 fi -if [ "$1" == "--force" ]; then +if [ "$1" = "--force" ]; then shift fi -- 2.44.0