summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-08-01 17:35:48 -0300
committerRenato Botelho <renato@netgate.com>2016-08-01 17:35:48 -0300
commit80c76b0c86ce3ecddcfc90565a2fdc0ca5f283b7 (patch)
tree03b1896f473cc829b7971a8ca88e69cb6b3ba4c2
parent06efbd3bfa2f7c4e57b9701716c0a172784dc2ea (diff)
downloadpfsense-80c76b0c86ce3ecddcfc90565a2fdc0ca5f283b7.zip
pfsense-80c76b0c86ce3ecddcfc90565a2fdc0ca5f283b7.tar.gz
err() expects a single parameter
-rwxr-xr-xbuild/scripts/build_freebsd.sh3
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))
OpenPOWER on IntegriCloud