From 121af38deeac602be91ed658d4afae8ef90cce75 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Mon, 13 Aug 2007 00:43:01 +0000 Subject: Simpler fix for rockboxdev.sh make/gmake detection in Mac OS X/Darwin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14307 a1c6a512-1295-4272-9138-f99709370657 --- tools/rockboxdev.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tools/rockboxdev.sh') diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index a927afef99..e33b21c289 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -17,17 +17,12 @@ builddir="$HOME/build-rbdev" # This script needs to use GNU Make. On Linux systems, GNU Make is invoked # by running the "make" command, on most BSD systems, GNU Make is invoked # by running the "gmake" command. Set the "make" variable accordingly. -if [ -n "`which gmake`" ]; then +if [ -f "`which gmake`" ]; then make="gmake" else make="make" fi -# Alternate detection for Mac OS X/Darwin -if [ "`uname`" == "Darwin" ] && which gmake | grep -q '^no'; then - make="make" -fi - # If detection fails, override the value of make manually: # make="make" -- cgit v1.2.3