From ba38305d44a1489bda27e025a7b764e0c4789f37 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 24 Nov 2007 05:42:12 +0200 Subject: [PATCH] Dpkg::Arch: Do not shadow $gcc_host_gnu_type inside get_raw_host_arch --- ChangeLog | 5 +++++ scripts/Dpkg/Arch.pm | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 " . -- 2.39.5