Mercurial > hg > truffle
changeset 233:17c572e2697c
6723762: Fix shell command that gets java version (uses 2>1)
Reviewed-by: pbk
author | ohair |
---|---|
date | Tue, 08 Jul 2008 15:23:04 -0700 |
parents | 72c3e8693c9a |
children | b21425229e0b |
files | make/linux/makefiles/buildtree.make |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make/linux/makefiles/buildtree.make Wed Jul 02 15:38:47 2008 -0400 +++ b/make/linux/makefiles/buildtree.make Tue Jul 08 15:23:04 2008 -0700 @@ -335,7 +335,7 @@ $(BUILDTREE_COMMENT); \ echo '. ./env.sh'; \ echo "if [ -z \$$JAVA_HOME ]; then { $(NO_JAVA_HOME_MSG); exit 0; }; fi"; \ - echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>1 > /dev/null"; \ + echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \ echo "then"; \ echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \ echo "fi"; \