hotspot/make/solaris/Makefile
changeset 28613 b78d7c133e56
parent 26826 c1b40944ea52
child 34289 2d1821a50263
child 33957 39113ae98993
--- a/hotspot/make/solaris/Makefile	Tue Jan 13 14:30:53 2015 -0500
+++ b/hotspot/make/solaris/Makefile	Wed Jan 14 15:57:59 2015 +0100
@@ -190,8 +190,7 @@
 XSLT_CHECK	= $(RUN.JAVAP) javax.xml.transform.TransformerFactory
 # If not found then fail fast.
 check_j2se_version:
-	$(QUIETLY) $(XSLT_CHECK) > /dev/null 2>&1; \
-	if [ $$? -ne 0 ]; then \
+	$(QUIETLY) if ! $(XSLT_CHECK) > /dev/null 2>&1; then \
 	  $(RUN.JAVA) -version; \
 	  echo "*** An XSLT processor (J2SE 1.4.x or newer) is required" \
 	  "to bootstrap this build" 1>&2; \