diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-01 17:35:48 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-01 17:35:48 -0300 |
commit | 80c76b0c86ce3ecddcfc90565a2fdc0ca5f283b7 (patch) | |
tree | 03b1896f473cc829b7971a8ca88e69cb6b3ba4c2 /build | |
parent | 06efbd3bfa2f7c4e57b9701716c0a172784dc2ea (diff) | |
download | pfsense-80c76b0c86ce3ecddcfc90565a2fdc0ca5f283b7.zip pfsense-80c76b0c86ce3ecddcfc90565a2fdc0ca5f283b7.tar.gz |
err() expects a single parameter
Diffstat (limited to 'build')
-rwxr-xr-x | build/scripts/build_freebsd.sh | 3 |
1 files changed, 1 insertions, 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)) |