From 4df1d3abe0968f9bf1a5e0587d3cd3d0235f53c2 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 25 Jan 2018 12:33:54 +0000 Subject: [PATCH] Macintosh-specific updates from gecko2@ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit also, their sysctl(8) sucks: 13:31⎜«gecko» naja, sysctl bricht die ausgabe bei nicht vorhandenen parametern ab 13:32⎜«gecko» der listet aktuell nur bis hw.memsize auf --- Build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Build.sh b/Build.sh index ebf4e1c..6d1c10b 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.731 2018/01/13 21:38:06 tg Exp $' +srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.732 2018/01/25 12:33:54 tg Exp $' #- # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012, 2013, 2014, 2015, 2016, 2017 @@ -1060,11 +1060,12 @@ AIX) Darwin) vv '|' "hwprefs machine_type os_type os_class >&2" vv '|' "sw_vers >&2" - vv '|' "system_profiler SPSoftwareDataType SPHardwareDataType >&2" + vv '|' "system_profiler -detailLevel mini SPSoftwareDataType SPHardwareDataType >&2" vv '|' "/bin/sh --version >&2" vv '|' "xcodebuild -version >&2" vv '|' "uname -a >&2" - vv '|' "sysctl kern.version hw.machine hw.model hw.memsize hw.availcpu hw.cpufrequency hw.byteorder hw.cpu64bit_capable >&2" + vv '|' "sysctl kern.version hw.machine hw.model hw.memsize hw.availcpu hw.ncpu hw.cpufrequency hw.byteorder hw.cpu64bit_capable >&2" + vv '|' "sysctl hw.cpufrequency hw.byteorder hw.cpu64bit_capable hw.ncpu >&2" ;; IRIX*) vv '|' "uname -a >&2"