Skip to content

Commit a2dc9df

Browse files
committed
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.
1 parent 65c41e5 commit a2dc9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/plugins.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55

66
BINARY_SUFFIX=""
7-
if [ "${GOOS}x" == "windowsx" ]; then
7+
if [ "${GOOS}x" = "windowsx" ]; then
88
BINARY_SUFFIX=".exe"
99
fi
1010

0 commit comments

Comments
 (0)