]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Rename variable to avoid confusion.
authorKurt Roeckx <kurt@roeckx.be>
Mon, 18 Jan 2010 22:57:33 +0000 (22:57 +0000)
committerKurt Roeckx <kurt@roeckx.be>
Mon, 18 Jan 2010 22:57:33 +0000 (22:57 +0000)
It probably still requires some rewrite.

bin/wanna-build

index 2e4a014cf59259735f76ff1e79ba4df9710f5db0..4e46b67ec3b92c583ba3f2bb7e55c2649ba86125 100755 (executable)
@@ -1162,7 +1162,7 @@ sub parse_sources {
        my $name;
        my $full = shift;
 
-       my $pkgs = get_all_source_info();
+       my $db = get_all_source_info();
 
        local($/) = ""; # read in paragraph mode
        while( <> ) {
@@ -1184,7 +1184,7 @@ sub parse_sources {
                $pkgs{$name}{'bin'} = $binaries;
                $pkgs{$name}{'dep'} = $builddep;
                $pkgs{$name}{'conf'} = $buildconf;
-               my $pkg = $pkgs->{$name};
+               my $pkg = $db->{$name};
 
                if (defined $pkg) {
                        my $change = 0;