diff options
-rw-r--r-- | lib/LXRng/Repo/Plain.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LXRng/Repo/Plain.pm b/lib/LXRng/Repo/Plain.pm index 46fb3f4..f39daa5 100644 --- a/lib/LXRng/Repo/Plain.pm +++ b/lib/LXRng/Repo/Plain.pm @@ -21,7 +21,7 @@ sub cache_key { sub allversions { my ($self) = @_; - my @ver = (sort + my @ver = (sort { $b cmp $a } grep { $_ ne "." and $_ ne ".." } map { substr($_, length($$self{'root'})) =~ /([^\/]*)/; $1 } glob($$self{'root'}."*/")); |