6723762: Fix shell command that gets java version (uses 2>1)

Reviewed-by: pbk
This commit is contained in:
Kelly O'Hair 2008-07-08 15:23:04 -07:00
parent 2a68d0757b
commit 16cd6c7922

View File

@ -335,7 +335,7 @@ test_gamma: $(BUILDTREE_MAKE)
$(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"; \