]> git.donarmstrong.com Git - wannabuild.git/commitdiff
fix 4572e2d58812a9c5f422a8c2e2401c441d528bb
authorAndreas Barth <aba@not.so.argh.org>
Wed, 30 Mar 2011 20:37:05 +0000 (20:37 +0000)
committerAndreas Barth <aba@not.so.argh.org>
Wed, 30 Mar 2011 20:37:05 +0000 (20:37 +0000)
lib/WB/QD.pm

index 8391fc3066d05f3547c35d01e78524b71f564b25..4c2806fe0cbae72d7d079ea6c16e49488194838f 100644 (file)
@@ -15,15 +15,15 @@ sub readsourcebins {
 
     my $pas = {};
     local($/) = "\n";
-    open(my $pas, '<', $pasfile);
-    while(<$pas>) {
+    open(my $pasf, '<', $pasfile);
+    while(<$pasf>) {
         chomp;
         s,\s*#.*,,;
         next unless $_;
         my ($p, $c) = split(/:\s*/);
         $pas->{$p} = { arch => [ split(/\s+/, $c) ], mode => substr($c, 0, 1) ne '!' };
     }
-    close $pas;
+    close $pasf;
 
     my $srcs = {};
     local($/) = ""; # read in paragraph mode