From 112311ae35e23fdf304ec701e910963a82348079 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 7 Nov 2023 23:37:59 -0700 Subject: [PATCH] fix(webi): replace == with = for POSIX sh See https://github.com/koalaman/shellcheck/issues/2857 --- _webi/curl-pipe-bootstrap.tpl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_webi/curl-pipe-bootstrap.tpl.sh b/_webi/curl-pipe-bootstrap.tpl.sh index c2ae9ca..a3eb6f6 100644 --- a/_webi/curl-pipe-bootstrap.tpl.sh +++ b/_webi/curl-pipe-bootstrap.tpl.sh @@ -184,7 +184,7 @@ webi_upgrade() { ( echo " $(t_dim 'Found') $(t_path "${b_path_rel}")" b_checksum="$(fn_checksum "${a_path}")" fi - if test "$b_checksum" == "${WEBI_CHECKSUM}"; then + if test "$b_checksum" = "${WEBI_CHECKSUM}"; then sleep 0.1 return 0 fi