From 22b5da7e0cf4bab33bb7f1395c98817cced3ec5f Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 15 Apr 2011 11:19:24 +0000 Subject: simplify declare and assign on the same line --- ulri | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ulri') diff --git a/ulri b/ulri index b69dea4..c532639 100755 --- a/ulri +++ b/ulri @@ -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; -- cgit v1.2.1