git://git.exim.org
/
exim-website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f80fa21
)
Modified other version comparison to be string based too
author
Nigel Metheringham
<nigel@exim.org>
Fri, 26 Oct 2012 20:30:23 +0000
(21:30 +0100)
committer
Nigel Metheringham
<nigel@exim.org>
Fri, 26 Oct 2012 20:30:23 +0000
(21:30 +0100)
script/gen.pl
patch
|
blob
|
history
diff --git
a/script/gen.pl
b/script/gen.pl
index 61b7cea9c835a3febe0764f42733ed5536bc7370..298fb1436410680045d5bcdc24ecad6894c001f4 100755
(executable)
--- a/
script/gen.pl
+++ b/
script/gen.pl
@@
-411,7
+411,7
@@
sub old_docs_versions {
if ( !exists $cache{old_docs_versions} ) {
my @versions;
foreach ( glob("$opt{docroot}/exim-html-*") ) {
- push @versions, $1 if /-(\d+(?:\.\d+)?)$/ && $1
<
$opt{latest} && -d $_;
+ push @versions, $1 if /-(\d+(?:\.\d+)?)$/ && $1
lt
$opt{latest} && -d $_;
}
$cache{old_docs_versions} = [ reverse sort { $a cmp $b } @versions ];
}