From 918f6388b7f8272a3e440d86b9f4c1817e4e6e00 Mon Sep 17 00:00:00 2001 From: Bornholm <1067759+Bornholm@users.noreply.github.com> Date: Mon, 3 Apr 2023 10:33:13 +0200 Subject: [PATCH] fix: allow overriding of FORMIDABLE_DESTDIR --- misc/script/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/script/install.sh b/misc/script/install.sh index 6d50dc6..afdf45e 100644 --- a/misc/script/install.sh +++ b/misc/script/install.sh @@ -2,7 +2,7 @@ set -e FORMIDABLE_RELEASES_URL="https://github.com/Bornholm/formidable/releases" -FORMIDABLE_DESTDIR="." +FORMIDABLE_DESTDIR="${FORMIDABLE_DESTDIR:-.}" FORMIDABLE_FILE_BASENAME="frmd" FORMIDABLE_PLATEFORM_SUFFIX="$(uname -s)_$(uname -m)" @@ -53,4 +53,4 @@ function check_sum { set +o pipefail } -main $@ \ No newline at end of file +main $@