From bc2c675571f9fc1e001d69bb04d5afbc6545f1ca Mon Sep 17 00:00:00 2001 From: Emil Date: Wed, 27 Sep 2023 05:58:21 +0000 Subject: [PATCH] More flexible build with TARGET --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e39debb..8dea01d 100755 --- a/install.sh +++ b/install.sh @@ -2,4 +2,4 @@ cd $(dirname "$(readlink -f "$0")") SUDO=${SUDO:-sudo} cc baked.c -o baked -std=gnu99 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS -$SUDO install -m 755 baked /usr/local/bin +$SUDO install -m 755 baked ${TARGET:-/usr/local/bin}