OpenJDK / amber / amber
changeset 779:01733213abc6
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 | c63133add9db |
children | cbe15531645c |
files | hotspot/make/linux/makefiles/buildtree.make |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/make/linux/makefiles/buildtree.make Wed Jul 02 15:38:47 2008 -0400 +++ b/hotspot/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"; \