changeset 3862:76a2ea69f47f

7022473: JDK7 still runs /etc/prtconf to find memory size Reviewed-by: ohair
author katleman
date Wed, 16 Mar 2011 09:42:55 -0700
parents d6c6d9566126
children 554adcfb615e
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	Wed Mar 16 09:30:29 2011 -0700
+++ b/make/common/shared/Platform.gmk	Wed Mar 16 09:42:55 2011 -0700
@@ -148,7 +148,7 @@
   # 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