From patchwork Wed Dec 14 18:00:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wookey X-Patchwork-Id: 5712 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5097F23E33 for ; Wed, 14 Dec 2011 18:01:04 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id 46513A18835 for ; Wed, 14 Dec 2011 18:01:04 +0000 (UTC) Received: by eaak10 with SMTP id k10so982045eaa.11 for ; Wed, 14 Dec 2011 10:01:04 -0800 (PST) Received: by 10.204.157.12 with SMTP id z12mr1736617bkw.18.1323885663939; Wed, 14 Dec 2011 10:01:03 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.129.2 with SMTP id hg2cs15561bkc; Wed, 14 Dec 2011 10:01:03 -0800 (PST) Received: by 10.216.209.99 with SMTP id r77mr1640487weo.25.1323885662611; Wed, 14 Dec 2011 10:01:02 -0800 (PST) Received: from stoneboat.aleph1.co.uk (stoneboat.aleph1.co.uk. [80.68.88.63]) by mx.google.com with ESMTPS id eo10si2003790wbb.35.2011.12.14.10.01.02 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 10:01:02 -0800 (PST) Received-SPF: neutral (google.com: 80.68.88.63 is neither permitted nor denied by best guess record for domain of wookey@wookware.org) client-ip=80.68.88.63; Authentication-Results: mx.google.com; spf=neutral (google.com: 80.68.88.63 is neither permitted nor denied by best guess record for domain of wookey@wookware.org) smtp.mail=wookey@wookware.org Received: from host-78-151-164-206.static.as13285.net ([78.151.164.206] helo=dream.aleph1.co.uk) by stoneboat.aleph1.co.uk with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Rat8S-0005kC-Ek for patches@linaro.org; Wed, 14 Dec 2011 18:01:02 +0000 Received: from wookey by dream.aleph1.co.uk with local (Exim 4.72) (envelope-from ) id 1Rat8M-0006L1-Cp for patches@linaro.org; Wed, 14 Dec 2011 18:00:50 +0000 Date: Wed, 14 Dec 2011 18:00:50 +0000 From: Wookey To: patches@linaro.org Message-ID: <20111214180050.GR28260@dream.aleph1.co.uk> MIME-Version: 1.0 Content-Disposition: inline Organization: Wookware User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: 78.151.164.206 X-SA-Exim-Mail-From: wookey@wookware.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on stoneboat.aleph1.co.uk X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.5 tests=AWL,BAYES_00 autolearn=no version=3.3.1 Subject: 0003-Fix-typo-when-comparing-strings.patch X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000) X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk) >From 550b937f012393dee0f61bc1aaecf2d994c3e87d Mon Sep 17 00:00:00 2001 From: Hector Oron Date: Mon, 12 Dec 2011 19:21:28 +0000 Subject: [PATCH 03/17] Fix typo when comparing strings Signed-off-by: Hector Oron --- lib/Sbuild/Build.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Sbuild/Build.pm b/lib/Sbuild/Build.pm index 88367ee..b6784b3 100644 --- a/lib/Sbuild/Build.pm +++ b/lib/Sbuild/Build.pm @@ -1413,7 +1413,7 @@ sub build { $self->get_conf('BUILD_ENV_CMND')); push (@{$buildcmd}, 'dpkg-buildpackage'); - if ($self->get_conf('BUILD_ARCH') != $self->get_conf('BUILD_ARCH')) { + if ($self->get_conf('BUILD_ARCH') ne $self->get_conf('BUILD_ARCH')) { push (@{$buildcmd}, '-a' . $self->get_conf('BUILD_ARCH')); }