mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 13:19:54 +00:00
Honor MAKE in sys/install.sh
This commit is contained in:
parent
ea6a155ffd
commit
7a9224231f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user