# HG changeset patch # User ohair # Date 1339605823 25200 # Node ID a1f721fbe5d04d6522c8a8d3304e2207ca6673b2 # Parent 0c0b50c7b76a7847c34ba3ed288c43dd3968f7bc 7176691: prtconf: devinfo facility not available in corba building Reviewed-by: tbell diff -r 0c0b50c7b76a -r a1f721fbe5d0 make/common/shared/Platform.gmk --- 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