client9 / shlib

portable functions for posix shell environments
The Unlicense
360 stars 36 forks source link

'sunos' is not a GOOS value #39

Open jelmd opened 2 years ago

jelmd commented 2 years ago
# curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /home/admin/go/bin
golangci/golangci-lint crit uname_os_check 'SunOS' got converted to 'sunos' which is not a GOOS value. Please file bug at https://github.com/client9/shlib
sjorge commented 1 year ago

Also hitting this on illumos.

dolmen commented 6 months ago

This is fixed in golangci-lint install script. See https://github.com/golangci/golangci-lint/blob/bcd015e30713370160740e4e0adeb66bc0e988de/install.sh#L206