From 9ed29347ea089a7dc54b160313031b23885708dc Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Fri, 23 Jul 2010 15:07:20 +0200 Subject: [PATCH] recommit --- test-suite/buildtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3