提交 d19465fd 编写于 作者: K katleman

7022473: JDK7 still runs /etc/prtconf to find memory size

Reviewed-by: ohair
上级 0e807b73
...@@ -148,7 +148,7 @@ ifeq ($(SYSTEM_UNAME), SunOS) ...@@ -148,7 +148,7 @@ ifeq ($(SYSTEM_UNAME), SunOS)
# Suffix for file bundles used in previous release # Suffix for file bundles used in previous release
BUNDLE_FILE_SUFFIX=.tar BUNDLE_FILE_SUFFIX=.tar
# How much RAM does this machine have: # 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 endif
# Platform settings specific to Linux # Platform settings specific to Linux
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册