From a2dc9dfd40f0df88df23fb375904d51cf458136a Mon Sep 17 00:00:00 2001 From: Timothy Messier Date: Thu, 17 Feb 2022 11:15:36 -0500 Subject: [PATCH] fix(build): Use POSIX compatible comparison In CI were errors/warnings like: ./scripts/plugins.sh: 7: [: windowsx: unexpected operator This comparison is compatible with more versions of bash and other shells and should prevent these messages. --- scripts/plugins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/plugins.sh b/scripts/plugins.sh index 59978038bf..c0d64e046a 100755 --- a/scripts/plugins.sh +++ b/scripts/plugins.sh @@ -4,7 +4,7 @@ set -e BINARY_SUFFIX="" -if [ "${GOOS}x" == "windowsx" ]; then +if [ "${GOOS}x" = "windowsx" ]; then BINARY_SUFFIX=".exe" fi