Skip to content

Commit c0532b3

Browse files
authored
dev: add riscv64 to the install script (#3220)
1 parent 5967201 commit c0532b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22
set -e
3-
# Code generated by godownloader. DO NOT EDIT.
4-
#
53

64
usage() {
75
this=$1
@@ -88,6 +86,7 @@ get_binaries() {
8886
linux/mips64le) BINARIES="golangci-lint" ;;
8987
linux/ppc64le) BINARIES="golangci-lint" ;;
9088
linux/s390x) BINARIES="golangci-lint" ;;
89+
linux/riscv64) BINARIES="golangci-lint" ;;
9190
windows/386) BINARIES="golangci-lint" ;;
9291
windows/amd64) BINARIES="golangci-lint" ;;
9392
windows/arm64) BINARIES="golangci-lint" ;;
@@ -230,7 +229,7 @@ uname_os_check() {
230229
solaris) return 0 ;;
231230
windows) return 0 ;;
232231
esac
233-
log_crit "uname_os_check '$(uname -s)' got converted to '$os' which is not a GOOS value. Please file bug at https://github.com/client9/shlib"
232+
log_crit "uname_os_check '$(uname -s)' got converted to '$os' which is not a GOOS value."
234233
return 1
235234
}
236235
uname_arch_check() {
@@ -249,9 +248,10 @@ uname_arch_check() {
249248
mips64) return 0 ;;
250249
mips64le) return 0 ;;
251250
s390x) return 0 ;;
251+
riscv64) return 0 ;;
252252
amd64p32) return 0 ;;
253253
esac
254-
log_crit "uname_arch_check '$(uname -m)' got converted to '$arch' which is not a GOARCH value. Please file bug report at https://github.com/client9/shlib"
254+
log_crit "uname_arch_check '$(uname -m)' got converted to '$arch' which is not a GOARCH value."
255255
return 1
256256
}
257257
untar() {

0 commit comments

Comments
 (0)