From: Guillem Jover Date: Sat, 24 Nov 2007 03:42:12 +0000 (+0200) Subject: Dpkg::Arch: Do not shadow $gcc_host_gnu_type inside get_raw_host_arch X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba38305d44a1489bda27e025a7b764e0c4789f37;p=dpkg Dpkg::Arch: Do not shadow $gcc_host_gnu_type inside get_raw_host_arch --- diff --git a/ChangeLog b/ChangeLog index b1d440a7..19e130a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-24 Guillem Jover + + * scripts/Dpkg/Arch.pm (get_raw_host_arch): Do not shadow + $gcc_host_gnu_type with a local variable. + 2007-11-24 Guillem Jover * scripts/dpkg-scanpackages.pl: Use parenthesis to force the diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm index 3cf0a942..3a2ecf11 100644 --- a/scripts/Dpkg/Arch.pm +++ b/scripts/Dpkg/Arch.pm @@ -63,7 +63,7 @@ my %debarch_to_debtriplet; { return $host_arch if defined $host_arch; - my $gcc_host_gnu_type = get_gcc_host_gnu_type(); + $gcc_host_gnu_type = get_gcc_host_gnu_type(); if ($gcc_host_gnu_type eq '') { warning(_g("Couldn't determine gcc system type, falling back to " .