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

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

View File

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

View File

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

View File

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

View File

@ -126,7 +126,7 @@
<!-- Update the messages_*.po files. <!-- Update the messages_*.po files.
We need to supply the bat file for windows, and then change the fail property to true --> We need to supply the bat file for windows, and then change the fail property to true -->
<exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="${require.gettext}" > <exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="${require.gettext}" >
<env key="JAVA_HOME" value="${JAVA_HOME}" /> <env key="JAVA_HOME" value="${java.home}" />
<arg value="./bundle-messages.sh" /> <arg value="./bundle-messages.sh" />
</exec> </exec>
<exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="${require.gettext}" > <exec executable="sh" osfamily="mac" failifexecutionfails="true" failonerror="${require.gettext}" >

View File

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

View File

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