From b6d589de29067d35e0aed688082b8c5ee949242e Mon Sep 17 00:00:00 2001 From: Judge-Paul Date: Thu, 23 Jan 2025 14:02:12 +0100 Subject: [PATCH] fix: install into `usr/local/bin` --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index be63793622e..74312555190 100755 --- a/install.sh +++ b/install.sh @@ -10,7 +10,7 @@ usage() { $this: download go binaries for nektos/act Usage: $this [-b bindir] [-d] [-f] [tag] - -b sets bindir or installation directory, Defaults to ./bin + -b sets bindir or installation directory, Defaults to /usr/local/bin -d turns on debug logging -f forces installation, bypassing version checks [tag] is a tag from @@ -21,10 +21,10 @@ EOF } parse_args() { - #BINDIR is ./bin unless set be ENV + # BINDIR is /usr/local/bin unless set by ENV # over-ridden by flag below - BINDIR=${BINDIR:-./bin} + BINDIR=${BINDIR:-/usr/local/bin} while getopts "b:dfh?x" arg; do case "$arg" in b) BINDIR="$OPTARG" ;;