feat: infer PREFIX from install location
1 files changed, 2 insertions(+), 1 deletions(-) M gover
M gover => gover +2 -1
@@ 7,9 7,10 @@ current_os() { uname | tr '[:upper:]' '[:lower:]' } SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) MINOR=${1:-14} PATCH=${2:-6} PREFIX=${PREFIX:-$HOME/.local} PREFIX=${PREFIX:-$(dirname "$SCRIPT_DIR")} GOOS=$(current_os) GOARCH=amd64 # TODO: find a portable way to determine this without go installed