build-package.sh: Fix two shellcheck warnings
This commit is contained in:
parent
93ae139b76
commit
caf5d0df81
@ -637,7 +637,7 @@ termux_step_post_configure () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
termux_step_make () {
|
termux_step_make () {
|
||||||
if ls *akefile &> /dev/null; then
|
if ls ./*akefile &> /dev/null; then
|
||||||
if [ -z "$TERMUX_PKG_EXTRA_MAKE_ARGS" ]; then
|
if [ -z "$TERMUX_PKG_EXTRA_MAKE_ARGS" ]; then
|
||||||
make -j $TERMUX_MAKE_PROCESSES
|
make -j $TERMUX_MAKE_PROCESSES
|
||||||
else
|
else
|
||||||
@ -647,7 +647,7 @@ termux_step_make () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
termux_step_make_install () {
|
termux_step_make_install () {
|
||||||
if ls *akefile &> /dev/null; then
|
if ls ./*akefile &> /dev/null; then
|
||||||
: ${TERMUX_PKG_MAKE_INSTALL_TARGET:="install"}:
|
: ${TERMUX_PKG_MAKE_INSTALL_TARGET:="install"}:
|
||||||
# Some packages have problem with parallell install, and it does not buy much, so use -j 1.
|
# 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
|
if [ -z "$TERMUX_PKG_EXTRA_MAKE_ARGS" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user