diff mbox

[2/2] Use build arch for dummy deps package, not host arch

Message ID 1324322993-12531-3-git-send-email-wookey@wookware.org
State Accepted
Headers show

Commit Message

Wookey Dec. 19, 2011, 7:29 p.m. UTC
From: Wookey <wookey@wookware.org>

---
 lib/Sbuild/ResolverBase.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/lib/Sbuild/ResolverBase.pm b/lib/Sbuild/ResolverBase.pm
index 84a768b..8cb0c7d 100644
--- a/lib/Sbuild/ResolverBase.pm
+++ b/lib/Sbuild/ResolverBase.pm
@@ -674,7 +674,7 @@  sub setup_apt_archive {
 	return 0;
     }
 
-    my $arch = $self->get('Host Arch');
+    my $arch = $self->get('Build Arch');
     print DUMMY_CONTROL <<"EOF";
 Package: $dummy_pkg_name
 Version: 0.invalid.0