summaryrefslogtreecommitdiff
path: root/tools/rockboxdev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rockboxdev.sh')
-rwxr-xr-xtools/rockboxdev.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 800d294fd3..cd4030fabd 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -23,7 +23,7 @@ builddir="/tmp/rbdev-build"
# 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 [ -f "`which gmake`" ]; then
+if [ -f "`which gmake 2>/dev/null`" ]; then
make="gmake"
else
make="make"