summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-12-01 13:24:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-12-01 13:24:33 +0000
commite419aca8499c02185c6a9ae4c5fc20389788b36a (patch)
treed0bbe518c849b4031d0ec6bcce9bfcf787a69f25 /tools
parent75bd4adbc22356b890d61d1e6dfca60013b03d04 (diff)
hide the which gmake errors, a part of the patch in FS#9338 by Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19288 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-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"