From 988b8121c23f4d446088706adaf7fac0eaac43df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 22 Oct 2013 14:33:35 +0200 Subject: [PATCH] [backend] fix syntax --- src/backend/bs_worker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/bs_worker b/src/backend/bs_worker index e55669be8a3..6ddafd361fe 100755 --- a/src/backend/bs_worker +++ b/src/backend/bs_worker @@ -496,7 +496,7 @@ while (@ARGV) { } if ($ARGV[0] eq '--threads') { shift @ARGV; - $treads = shift @ARGV; + $threads = shift @ARGV; next; } if ($ARGV[0] eq '--cachedir') { @@ -2261,7 +2261,7 @@ sub dobuild { push @args, '--debug' if $buildinfo->{'debuginfo'}; push @args, '--arch', $arch; push @args, '--jobs', $jobs if $jobs; - push @args, '--threads', $threads if $treads; + push @args, '--threads', $threads if $threads; push @args, '--reason', "Building $packid for project '$projid' repository '$repoid' arch '$arch' srcmd5 '$buildinfo->{'srcmd5'}'"; push @args, '--disturl', $disturl; push @args, '--linksources' if $localkiwi;