diff --git a/build-package.sh b/build-package.sh index 0be276f5c..fcda5850e 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