changeset 8592:c22d2d0a1ff6

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 3a4de9d734aa
children d7436373981b
files jdk/make/common/shared/Platform.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/make/common/shared/Platform.gmk	Wed Mar 16 09:30:29 2011 -0700
+++ b/jdk/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