mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
Use $(go env GOPATH) that works even when GOPATH is not set
This commit is contained in:
parent
aef335a98e
commit
6bd6e4ba2c
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ You may obtain a copy of the License [here](http://www.apache.org/licenses/LICEN
|
|||
### CI Installation
|
||||
|
||||
```bash
|
||||
# binary will be $GOPATH/bin/gosec
|
||||
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $GOPATH/bin vX.Y.Z
|
||||
# binary will be $(go env GOPATH)/bin/gosec
|
||||
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin vX.Y.Z
|
||||
|
||||
# or install it into ./bin/
|
||||
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s vX.Y.Z
|
||||
|
|
Loading…
Reference in a new issue