From a3eebd32631fa24cf3e0833106a9c7878ce61199 Mon Sep 17 00:00:00 2001 From: Raphael Hertzog Date: Fri, 12 Oct 2007 18:46:37 +0200 Subject: [PATCH] dpkg-shlibdeps.pl: use get_host_arch from Dpkg::Arch --- scripts/dpkg-shlibdeps.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl index ab1f9a2d..3196a4ff 100755 --- a/scripts/dpkg-shlibdeps.pl +++ b/scripts/dpkg-shlibdeps.pl @@ -13,9 +13,9 @@ use Dpkg::Version qw(vercmp); use Dpkg::Shlibs qw(find_library); use Dpkg::Shlibs::Objdump; use Dpkg::Shlibs::SymbolFile; +use Dpkg::Arch qw(get_host_arch); -our $host_arch= `dpkg-architecture -qDEB_HOST_ARCH`; -chomp $host_arch; +our $host_arch= get_host_arch(); # By increasing importance my @depfields= qw(Suggests Recommends Depends Pre-Depends); -- 2.39.5