From b0b95e3c4d5a1737dc4f1dee6ff3d431a3588f89 Mon Sep 17 00:00:00 2001 From: Lucy Phipps Date: Sun, 3 Sep 2023 06:08:48 +0100 Subject: [PATCH] setup-cgct.sh: fix unbound variable --- scripts/setup-cgct.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/setup-cgct.sh b/scripts/setup-cgct.sh index db24aa7745..746d1b7d37 100755 --- a/scripts/setup-cgct.sh +++ b/scripts/setup-cgct.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +: "${TERMUX_SCRIPTDIR:="$(realpath "$(dirname "$(readlink -f "$0")")/..")"}" + . $(dirname "$(realpath "$0")")/properties.sh . $(dirname "$(realpath "$0")")/build/termux_download.sh