1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-26 18:57:14 +00:00

build-package.sh: Fix two shellcheck warnings

This commit is contained in:
Fredrik Fornwall 2017-01-08 08:06:46 -05:00
parent 93ae139b76
commit caf5d0df81

View File

@ -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