[buildd-tools-devel] [PATCH 02/14] Fix typo when comparing strings

wookey at wookware.org wookey at wookware.org
Mon Dec 12 22:58:52 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 5e23e3e..45bdafb 100644
--- a/lib/Sbuild/Build.pm
+++ b/lib/Sbuild/Build.pm
@@ -1408,7 +1408,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