mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 02:33:12 +00:00
7022473: JDK7 still runs /etc/prtconf to find memory size
Reviewed-by: ohair
This commit is contained in:
parent
50deeb91cd
commit
034e24095e
@ -148,7 +148,7 @@ ifeq ($(SYSTEM_UNAME), SunOS)
|
||||
# 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user