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.
This commit is contained in:
Timothy Messier committed 2022-02-17 11:15:36 -05:00
1 parent 65c41e5b14
commit a2dc9dfd40
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@
set -e
BINARY_SUFFIX=""
if [ "${GOOS}x" == "windowsx" ]; then
if [ "${GOOS}x" = "windowsx" ]; then
BINARY_SUFFIX=".exe"
fi