From: Francesco Chemolli Date: Fri, 23 Jul 2010 13:07:20 +0000 (+0200) Subject: recommit X-Git-Tag: SQUID_3_2_0_1~36^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ed29347ea089a7dc54b160313031b23885708dc;p=thirdparty%2Fsquid.git recommit --- diff --git a/test-suite/buildtest.sh b/test-suite/buildtest.sh index 364ef5254f..452fd2741b 100755 --- a/test-suite/buildtest.sh +++ b/test-suite/buildtest.sh @@ -24,7 +24,7 @@ fi #if we are on FreeBSD, let's try parallelizing if [ -z "$pjobs" -a -x /sbin/sysctl ]; then ncpus=`sysctl kern.smp.cpus | cut -f2 -d" "` - if [ $? -eq 0 -a -n "$ncpus" -a "$ncpus" -gt 1 ]; then + if [ $? -eq 0 -a -n $ncpus -a $ncpus -gt 1 ]; then pjobs="-j${ncpus}" fi fi