Simplify Go installation and support standard OpenCode releases
This commit is contained in:
+6
-1
@@ -1,3 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
exec python3 "$(dirname "$0")/scripts/install.py" "$@"
|
||||
if [ "$#" -ne 0 ]; then
|
||||
echo 'Usage: ./install.sh (honors GOBIN and GOPATH; installs binaries only)' >&2
|
||||
exit 2
|
||||
fi
|
||||
cd "$(dirname "$0")"
|
||||
exec go install -trimpath ./cmd/...
|
||||
|
||||
Reference in New Issue
Block a user