changeset 365:a1f721fbe5d0

7176691: prtconf: devinfo facility not available in corba building Reviewed-by: tbell
author ohair
date Wed, 13 Jun 2012 09:43:43 -0700
parents 0c0b50c7b76a
children cd879aff5d3c
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	Thu Jun 07 20:30:30 2012 -0700
+++ b/make/common/shared/Platform.gmk	Wed Jun 13 09:43:43 2012 -0700
@@ -143,7 +143,7 @@
     REQUIRED_FREE_SPACE=1040000
   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 2>/dev/null | fgrep 'Memory size:' | expand | cut -d' ' -f3)
 endif
 
 # Platform settings specific to Linux