From 5b6b9277e63e42371aa11e4560fb09ddaf9679b8 Mon Sep 17 00:00:00 2001 From: codehelp Date: Thu, 21 Mar 2013 22:08:04 +0000 Subject: [PATCH] Fix filehandle typo when configuring multiarch (Closes: #695843) git-svn-id: http://emdebian.org/svn/current@8422 563faec7-e20c-0410-992a-a66f704d0ccd --- debian/changelog | 1 + multistrap | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2ff6b85..4ea607c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ multistrap (2.1.22) experimental; urgency=low * Support marking dependencies as auto-installed using apt-mark. (Closes: #702036) + * Fix filehandle typo when configuring multiarch (Closes: #695843) -- Neil Williams Thu, 21 Mar 2013 19:21:56 +0000 diff --git a/multistrap b/multistrap index 1a8b7de..aa7400a 100755 --- a/multistrap +++ b/multistrap @@ -210,9 +210,9 @@ if (($olddpkg == 0) and (scalar (@foreignarches) > 0)) { } close (MA); open (VMA, ">${dir}${dpkgdir}arch"); - print MA "$host\n"; + print VMA "$host\n"; foreach my $farch (@foreignarches) { - print MA "$farch\n"; + print VMA "$farch\n"; } close (VMA); }