From be6030620e78ec3a61e6f456c7d60ea478feaaf3 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 23 May 2016 12:58:33 +0200 Subject: [PATCH] Honor MAKE env var in r2pm --- binr/r2pm/r2pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/binr/r2pm/r2pm b/binr/r2pm/r2pm index 6f400991e9..d1885c051c 100755 --- a/binr/r2pm/r2pm +++ b/binr/r2pm/r2pm @@ -10,6 +10,10 @@ if [ $? != 0 ]; then fi # Exported Vars +MAKE=make +gmake --help >/dev/null 2>&1 +[ $? = 0 ] && MAKE=gmake +export MAKE export GLOBAL=0 export R2VERSION="`r2 -qv`" PREFIX="`r2 -hh | grep PREFIX | awk '{print $2}' 2> /dev/null`"