mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 11:35:52 +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
|
||||
set -e
|
||||
# Code generated by godownloader on 2020-03-02T13:35:13Z. DO NOT EDIT.
|
||||
# Code generated by godownloader. DO NOT EDIT.
|
||||
#
|
||||
|
||||
usage() {
|
||||
|
@ -63,8 +63,11 @@ execute() {
|
|||
get_binaries() {
|
||||
case "$PLATFORM" in
|
||||
darwin/amd64) BINARIES="gosec" ;;
|
||||
darwin/arm64) BINARIES="gosec" ;;
|
||||
linux/amd64) BINARIES="gosec" ;;
|
||||
linux/arm64) 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"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue