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.
pull/1871/head v0.7.5
Timothy Messier 4 years ago
parent 65c41e5b14
commit a2dc9dfd40
No known key found for this signature in database
GPG Key ID: EFD2F184F7600572

@ -4,7 +4,7 @@
set -e
BINARY_SUFFIX=""
if [ "${GOOS}x" == "windowsx" ]; then
if [ "${GOOS}x" = "windowsx" ]; then
BINARY_SUFFIX=".exe"
fi

Loading…
Cancel
Save