From b99704569be8dcaaf76402aa214b7f9c1f2dcfb4 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Tue, 19 May 2020 15:15:09 +0300 Subject: [PATCH] scripts/list-versions.sh: set TERMUX_PREFIX variable Fixes dirname: missing operand Try 'dirname --help' for more information. when sourcing some build.sh. --- scripts/list-versions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/list-versions.sh b/scripts/list-versions.sh index 187e5cf46..df1596aec 100755 --- a/scripts/list-versions.sh +++ b/scripts/list-versions.sh @@ -7,6 +7,7 @@ check_package() { # path local pkg=$(basename $path) TERMUX_PKG_REVISION=0 TERMUX_ARCH=aarch64 + TERMUX_PREFIX=/data/data/com.termux/files/usr . $path/build.sh if [ "$TERMUX_PKG_REVISION" != "0" ] || [ "$TERMUX_PKG_VERSION" != "${TERMUX_PKG_VERSION/-/}" ]; then TERMUX_PKG_VERSION+="-$TERMUX_PKG_REVISION"