From 5fa1201704361018dee375e4e6cc10a895395bd2 Mon Sep 17 00:00:00 2001 From: trevor grayson Date: Mon, 22 Dec 2025 11:59:38 -0800 Subject: [PATCH] optional configurable TARGET install path This supports installing binaries on managed systems, which do not allow SUDO access. --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index f2725ef4..5723536e 100755 --- a/install.sh +++ b/install.sh @@ -11,15 +11,15 @@ OS="$(uname -s | cut -d '-' -f 1)" case "$OS" in Linux) FILE="${FILE}_linux" - TARGET="/usr/local/bin" + TARGET="${TARGET:=/usr/local/bin}" ;; Darwin) FILE="${FILE}_darwin" - TARGET="/usr/local/bin" + TARGET="${TARGET:=/usr/local/bin}" ;; MINGW64_NT) FILE="${FILE}_windows" - TARGET="/c/Windows" + TARGET="${TARGET:=/c/Windows}" ;; *) echo "Unknown operating system: $OS"