From 80c76b0c86ce3ecddcfc90565a2fdc0ca5f283b7 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 1 Aug 2016 17:35:48 -0300 Subject: err() expects a single parameter --- build/scripts/build_freebsd.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/scripts/build_freebsd.sh b/build/scripts/build_freebsd.sh index da34ae4..3c12453 100755 --- a/build/scripts/build_freebsd.sh +++ b/build/scripts/build_freebsd.sh @@ -103,8 +103,7 @@ src_osversion=$(awk '/^\#define[[:blank:]]__FreeBSD_version/ {print $3}' \ && err "error obtaining host or src osversion" [ $src_osversion -gt $host_osversion ] \ - && err "src osversion (${src_osversion}) is bigger than host " \ - " osversion (${host_osversion})" + && err "src osversion (${src_osversion}) is bigger than host osversion (${host_osversion})" ncpu=$(sysctl -n hw.ncpu) njobs=$((ncpu*2)) -- cgit v1.1