From 44c6a47fb6208eae8be88197cd2bf7240759a05a Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Mon, 25 Sep 2017 15:01:49 -0600 Subject: do_{cmake,freebsd}: Don't invoke nproc(1) on FreeBSD Use sysctl(8) instead. Also, there's no longer any need for /bin/bash on FreeBSD. Signed-off-by: Alan Somers --- do_freebsd.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'do_freebsd.sh') diff --git a/do_freebsd.sh b/do_freebsd.sh index bf9007488f0..2cfa8fa6a7c 100755 --- a/do_freebsd.sh +++ b/do_freebsd.sh @@ -1,14 +1,6 @@ #!/bin/sh -xve -NPROC=`sysctl -n hw.ncpu` +export NPROC=`sysctl -n hw.ncpu` -# we need bash first otherwise almost nothing will work -if [ ! -L /bin/bash ]; then - echo install bash and link /bin/bash to /usr/local/bin/bash - echo Run: - echo sudo pkg install bash - echo ln -s /usr/local/bin/bash /bin/bash - exit 1 -fi if [ x"$1"x = x"--deps"x ]; then sudo ./install-deps.sh fi -- cgit v1.2.3