guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/19: import: cpan: Add trailing "/" to CPAN-HOME.


From: Tobias Geerinckx-Rice
Subject: 08/19: import: cpan: Add trailing "/" to CPAN-HOME.
Date: Sun, 29 Oct 2017 12:33:51 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 73f33b93797383a356133a2e871af9c07f5b5376
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Oct 29 15:28:35 2017 +0100

    import: cpan: Add trailing "/" to CPAN-HOME.
    
    Prevent regression after commit e4bc1727302b0e1e255ea5cf4e2ccf33cafe7296.
    
    * guix/import/cpan.scm (cpan-home): Add trailing "/".
---
 guix/import/cpan.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm
index 5ba1adf..b5dba2b 100644
--- a/guix/import/cpan.scm
+++ b/guix/import/cpan.scm
@@ -115,7 +115,7 @@ or #f on failure.  MODULE should be e.g. \"Test::Script\""
   (json-fetch (string-append "https://fastapi.metacpan.org/v1/release/"; name)))
 
 (define (cpan-home name)
-  (string-append "http://search.cpan.org/dist/"; name))
+  (string-append "http://search.cpan.org/dist/"; name "/"))
 
 (define (cpan-source-url meta)
   "Return the download URL for a module's source tarball."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]