# HG changeset patch # User ohair # Date 1339605823 25200 # Node ID 3526c8817fe64cd405bfe62d6d22329bde0bcae2 # Parent 9aa652f13e6338ded70633c47c01a0a232a7e83f 7176691: prtconf: devinfo facility not available in corba building Reviewed-by: tbell diff -r 9aa652f13e63 -r 3526c8817fe6 corba/make/common/shared/Platform.gmk --- a/corba/make/common/shared/Platform.gmk Thu Jun 07 20:30:30 2012 -0700 +++ b/corba/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