]> err.no Git - dpkg/commitdiff
Dpkg::Arch: Do not shadow $gcc_host_gnu_type inside get_raw_host_arch
authorGuillem Jover <guillem@debian.org>
Sat, 24 Nov 2007 03:42:12 +0000 (05:42 +0200)
committerGuillem Jover <guillem@debian.org>
Sat, 24 Nov 2007 03:42:12 +0000 (05:42 +0200)
ChangeLog
scripts/Dpkg/Arch.pm

index b1d440a7f5db5e5b43d6fc9cbcfd86153acdf8ba..19e130a65a6864c1eea9ddaa8e716fb7f919f4e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-24  Guillem Jover  <guillem@debian.org>
+
+       * scripts/Dpkg/Arch.pm (get_raw_host_arch): Do not shadow
+       $gcc_host_gnu_type with a local variable.
+
 2007-11-24  Guillem Jover  <guillem@debian.org>
 
        * scripts/dpkg-scanpackages.pl: Use parenthesis to force the
index 3cf0a9424556a455ea3a39c94ad81a094fc5ed08..3a2ecf11165a8141b96f8a12f575daa1a8a6e7f8 100644 (file)
@@ -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 " .