Re: [ptxdist] [PATCH] Support reading number of CPUs on Mac OS X

2012-01-24 Thread Michael Olbrich
On Sun, Jan 22, 2012 at 09:47:47PM +0100, Bernhard Walle wrote: Tested on 10.7 (Lion). Signed-off-by: Bernhard Walle bernh...@bwalle.de --- bin/ptxdist |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bin/ptxdist b/bin/ptxdist index 74a52ad..4edbac3 100755 ---

Re: [ptxdist] [PATCH] Support reading number of CPUs on Mac OS X

2012-01-24 Thread Bernhard Walle
Hi Michael, Am 24.01.12 10:19, schrieb Michael Olbrich: - Is sysctl alwyas in $PATH? On Linux it's in sbin. I think so, but it's in /usr/sbin, so I can use /usr/sbin/syctl to be more safe. - the value should be quoted. ok. - Does this _always_ and _only_ work on Mac OS X? Good point. I

[ptxdist] [PATCH] Support reading number of CPUs on Mac OS X

2012-01-22 Thread Bernhard Walle
Tested on 10.7 (Lion). Signed-off-by: Bernhard Walle bernh...@bwalle.de --- bin/ptxdist |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bin/ptxdist b/bin/ptxdist index 74a52ad..4edbac3 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -2093,6 +2093,8 @@ setup_config() {