diff options
author | Michael Scherer <misc@mageia.org> | 2011-04-15 11:19:24 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-04-15 11:19:24 +0000 |
commit | 22b5da7e0cf4bab33bb7f1395c98817cced3ec5f (patch) | |
tree | 35efbf22ae41f98e387e6cebe41d6ef31e0b9d39 /ulri | |
parent | e6d6cbab17f9f64e239bf6f3bcef0c5b521486bd (diff) | |
download | iurt-22b5da7e0cf4bab33bb7f1395c98817cced3ec5f.tar iurt-22b5da7e0cf4bab33bb7f1395c98817cced3ec5f.tar.gz iurt-22b5da7e0cf4bab33bb7f1395c98817cced3ec5f.tar.bz2 iurt-22b5da7e0cf4bab33bb7f1395c98817cced3ec5f.tar.xz iurt-22b5da7e0cf4bab33bb7f1395c98817cced3ec5f.zip |
simplify declare and assign on the same line
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -582,7 +582,6 @@ foreach my $prefix (sort keys %pkg_tree) { # need to find a bot for each arch foreach my $arch (keys %{$config->{bot}}) { my $exclude; - my $noarch; # Skip this arch if package is building as noarch # @@ -594,7 +593,7 @@ foreach my $prefix (sort keys %pkg_tree) { # If all packages in a group are noarch, consider the entire group # as noarch # - $noarch = 1; + my $noarch = 1; foreach my $srpm (@$srpms) { if (!check_noarch("$todo_dir/${prefix}_$srpm")) { $noarch = 0; |