aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/gnu-maintenance.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 7c7ca65d7b..c903b740ba 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -472,11 +472,11 @@ list available from %GNU-FILE-LIST-URI over HTTP(S)."
(let* ((files (ftp.gnu.org-files))
(relevant (filter (lambda (file)
(and (string-contains file directory)
- (release-file? name (basename file))
- ))
+ (release-file? name (basename file))))
files)))
(match (sort relevant (lambda (file1 file2)
- (version>? (basename file1) (basename file2))))
+ (version>? (sans-extension (basename file1))
+ (sans-extension (basename file2)))))
((tarball _ ...)
(upstream-source
(package name)