mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
import: cran: Fix off-by-one error.
* guix/import/cran.scm (package->upstream-name): Do not include leading slash in upstream name URL.
This commit is contained in:
parent
b054b26a48
commit
e3100110ce
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ (define (package->upstream-name package)
|
|||
(start (string-rindex url #\/)))
|
||||
;; The URL ends on
|
||||
;; (string-append "/" name "_" version ".tar.gz")
|
||||
(substring url start end)))
|
||||
(substring url (+ start 1) end)))
|
||||
(_ #f)))
|
||||
(_ #f)))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue