diff mbox

[5/7] Set build dir path so it works (and use host_arch)

Message ID 1324299198-14640-5-git-send-email-wookey@wookware.org
State Awaiting Upstream
Headers show

Commit Message

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

---
 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 e8ac807..966fb32 100644
--- a/lib/Sbuild/Build.pm
+++ b/lib/Sbuild/Build.pm
@@ -404,7 +404,7 @@  sub run_chroot_session {
 	$self->set('Chroot Build Dir',
 		   tempdir($self->get_conf('USERNAME') . '-' .
 			   $self->get('Package_SVersion') . '-' .
-			   $self->get('BUILD_ARCH') . '-XXXXXX',
+			   $self->get_conf('HOST_ARCH') . '-XXXXXX',
 			   DIR =>  $session->get('Location') . "/build"));
 
 	$self->set('Build Dir', $session->strip_chroot_path($self->get('Chroot Build Dir')));