[buildd-tools-devel] [PATCH 03/17] Fix typo when comparing strings

wookey at wookware.org wookey at wookware.org
Tue Dec 13 02:37:28 UTC 2011


From: Hector Oron <hector.oron at toby-churchill.com>

Signed-off-by: Hector Oron <hector.oron at toby-churchill.com>
---
 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'));
     }
 
-- 
1.7.5.4




More information about the Buildd-tools-devel mailing list