changeset 540:8f6523cdd46e

7022473: JDK7 still runs /etc/prtconf to find memory size Reviewed-by: katleman
author ohair
date Wed, 04 Jan 2012 11:22:55 -0800
parents fdd2f36bd77d
children 41a7f002492d
files make/common/shared/Platform.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/shared/Platform.gmk	Fri Jun 19 18:03:27 2009 +0800
+++ b/make/common/shared/Platform.gmk	Wed Jan 04 11:22:55 2012 -0800
@@ -171,7 +171,7 @@
     REQUIRED_OS_VERSION = 5.8
   endif
   # 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