diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | lib/Iurt/Ulri.pm | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ - iurt: allow building arm v5 and v7 on armv8l +- ulri: sort file names in mail - move check_{no,}arch from Config into a new RPM module. They have nothing to do with the config and work on an RPM file. diff --git a/lib/Iurt/Ulri.pm b/lib/Iurt/Ulri.pm index c9ec44e..4cac3bb 100755 --- a/lib/Iurt/Ulri.pm +++ b/lib/Iurt/Ulri.pm @@ -161,11 +161,11 @@ sub warn_about_failure { $text .= "\nLog files generated:\n"; opendir my $DP1, "$fail_dir/$prefix/log/"; - foreach my $f1 (sort(readdir($DP1))) { + foreach my $f1 (readdir($DP1)) { next if ! -d "$fail_dir/$prefix/log/$f1" || $f1 =~ m/^\./; opendir my $DP2, "$fail_dir/$prefix/log/$f1"; - foreach my $f2 (readdir $DP2) { + foreach my $f2 (sort(readdir $DP2)) { next if $f2 =~ m/^\./; $text .= "$fpath/log/$f1/$f2\n"; } |