redirect output of which command to /dev/null

This commit is contained in:
kytv
2013-09-20 02:00:41 +00:00
parent 8e3e566915
commit 35b02a52e1
7 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ TMPFILE=build/javafiles.txt
export TZ=UTC
RC=0
if ! $(which javac); then
if ! $(which javac > /dev/null 2>&1); then
export JAVAC=${JAVA_HOME}/../bin/javac
fi