1
0
mirror of https://github.com/securego/gosec.git synced 2025-09-16 09:06:19 +02:00

Update install.sh with more installation options

This commit is contained in:
Matthieu MOREL
2021-05-31 10:39:11 +02:00
committed by GitHub
parent af27673a87
commit df1249d9b2

View File

@@ -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