projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ce1c92
)
Sort hosts in aptcheck
author
Heikki Levanto
<heikki@indexdata.dk>
Fri, 3 May 2013 08:54:47 +0000
(10:54 +0200)
committer
Heikki Levanto
<heikki@indexdata.dk>
Fri, 3 May 2013 08:54:47 +0000
(10:54 +0200)
aptcheck/aptcheck.pl
patch
|
blob
|
history
diff --git
a/aptcheck/aptcheck.pl
b/aptcheck/aptcheck.pl
index
cac9422
..
d49e41b
100755
(executable)
--- a/
aptcheck/aptcheck.pl
+++ b/
aptcheck/aptcheck.pl
@@
-149,7
+149,8
@@
if ( -f $datefilename ) {
my $table = "<table>\n";
-for my $hline ( split("\n",$hostlist) ) {
+#for my $hline ( split("\n",$hostlist) ) {
+for my $hline ( sort( split("\n",$hostlist) ) ) {
next unless ( $hline =~ /\/([a-z0-9-]+)\.cfg$/ );
my $H = $1;
next if ($H =~ /^commands/ );