From 034e24095e2cb8b9158cc0b240d4259f6c9506f9 Mon Sep 17 00:00:00 2001 From: David Katleman Date: Wed, 16 Mar 2011 09:42:55 -0700 Subject: [PATCH] 7022473: JDK7 still runs /etc/prtconf to find memory size Reviewed-by: ohair --- jdk/make/common/shared/Platform.gmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/make/common/shared/Platform.gmk b/jdk/make/common/shared/Platform.gmk index 91326a9f794..5a4ced18d3b 100644 --- a/jdk/make/common/shared/Platform.gmk +++ b/jdk/make/common/shared/Platform.gmk @@ -148,7 +148,7 @@ ifeq ($(SYSTEM_UNAME), SunOS) # Suffix for file bundles used in previous release BUNDLE_FILE_SUFFIX=.tar # How much RAM does this machine have: - MB_OF_MEMORY=$(shell /etc/prtconf | fgrep 'Memory size:' | expand | cut -d' ' -f3) + MB_OF_MEMORY=$(shell /usr/sbin/prtconf | fgrep 'Memory size:' | expand | cut -d' ' -f3) endif # Platform settings specific to Linux