mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
Update install.sh with more installation options
This commit is contained in:
parent
af27673a87
commit
df1249d9b2
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
# Code generated by godownloader on 2020-03-02T13:35:13Z. DO NOT EDIT.
|
# Code generated by godownloader. DO NOT EDIT.
|
||||||
#
|
#
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
|
@ -63,8 +63,11 @@ execute() {
|
||||||
get_binaries() {
|
get_binaries() {
|
||||||
case "$PLATFORM" in
|
case "$PLATFORM" in
|
||||||
darwin/amd64) BINARIES="gosec" ;;
|
darwin/amd64) BINARIES="gosec" ;;
|
||||||
|
darwin/arm64) BINARIES="gosec" ;;
|
||||||
linux/amd64) BINARIES="gosec" ;;
|
linux/amd64) BINARIES="gosec" ;;
|
||||||
|
linux/arm64) BINARIES="gosec" ;;
|
||||||
windows/amd64) BINARIES="gosec" ;;
|
windows/amd64) BINARIES="gosec" ;;
|
||||||
|
windows/arm64) BINARIES="gosec" ;;
|
||||||
*)
|
*)
|
||||||
log_crit "platform $PLATFORM is not supported. Make sure this script is up-to-date and file request at https://github.com/${PREFIX}/issues/new"
|
log_crit "platform $PLATFORM is not supported. Make sure this script is up-to-date and file request at https://github.com/${PREFIX}/issues/new"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue