diff mbox

0003-Fix-typo-when-comparing-strings.patch

Message ID 20111214180050.GR28260@dream.aleph1.co.uk
State Accepted
Headers show

Commit Message

Wookey Dec. 14, 2011, 6 p.m. UTC
From 550b937f012393dee0f61bc1aaecf2d994c3e87d Mon Sep 17 00:00:00 2001
From: Hector Oron <hector.oron@toby-churchill.com>
Date: Mon, 12 Dec 2011 19:21:28 +0000
Subject: [PATCH 03/17] Fix typo when comparing strings

Signed-off-by: Hector Oron <hector.oron@toby-churchill.com>
---
 lib/Sbuild/Build.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

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'));
     }