Browse Source

scripts/list-versions.sh: set TERMUX_PREFIX variable

Fixes

 dirname: missing operand
 Try 'dirname --help' for more information.

when sourcing some build.sh.
master
Leonid Pliushch 5 years ago
parent
commit
fb202c323a
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 1
      scripts/list-versions.sh

1
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"

Loading…
Cancel
Save