From: Fredrik Fornwall Date: Sun, 8 Jan 2017 13:06:46 +0000 (-0500) Subject: build-package.sh: Fix two shellcheck warnings X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/caf5d0df81953737a0eb05be26d8da43441b4d82?ds=inline build-package.sh: Fix two shellcheck warnings --- diff --git a/build-package.sh b/build-package.sh index 0be276f5..fcda5850 100755 --- a/build-package.sh +++ b/build-package.sh @@ -637,7 +637,7 @@ termux_step_post_configure () { } termux_step_make () { - if ls *akefile &> /dev/null; then + if ls ./*akefile &> /dev/null; then if [ -z "$TERMUX_PKG_EXTRA_MAKE_ARGS" ]; then make -j $TERMUX_MAKE_PROCESSES else @@ -647,7 +647,7 @@ termux_step_make () { } termux_step_make_install () { - if ls *akefile &> /dev/null; then + if ls ./*akefile &> /dev/null; then : ${TERMUX_PKG_MAKE_INSTALL_TARGET:="install"}: # Some packages have problem with parallell install, and it does not buy much, so use -j 1. if [ -z "$TERMUX_PKG_EXTRA_MAKE_ARGS" ]; then