]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
recommit
authorFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 23 Jul 2010 13:07:20 +0000 (15:07 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 23 Jul 2010 13:07:20 +0000 (15:07 +0200)
test-suite/buildtest.sh

index 364ef5254fdf35e133286549f1d2c8d778826437..452fd2741b26343987dd6abf290d8a23c4eb085e 100755 (executable)
@@ -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