Skip to content

Commit

Permalink
Honor MAKE in sys/install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Oct 31, 2023
1 parent ea6a155 commit 7a92242
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions sys/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,18 @@ while : ; do
shift
done

MAKE=make
gmake --help >/dev/null 2>&1
[ $? = 0 ] && MAKE=gmake
${MAKE} --help 2>&1 | grep -q gnu
if [ $? != 0 ]; then
echo "You need GNU Make to build me"
exit 1
if [ -z "${MAKE}" ]; then
MAKE=make
gmake --help >/dev/null 2>&1
[ $? = 0 ] && MAKE=gmake
${MAKE} --help 2>&1 | grep -q gnu
if [ $? != 0 ]; then
echo "You need GNU Make to build me"
exit 1
fi
export MAKE="$MAKE"
fi

export MAKE="$MAKE"

[ -z "${INSTALL_TARGET}" ] && INSTALL_TARGET=symstall

# update
Expand Down

0 comments on commit 7a92242

Please sign in to comment.