mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 16:12:58 -05:00
import: cpan: Remove unary 'string-append' call.
* guix/import/cpan.scm (package->upstream-name): Remove useless 'string-append'.
This commit is contained in:
parent
5d022d5563
commit
f13e73df10
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ (define (package->upstream-name package)
|
|||
((? origin? origin)
|
||||
(match (origin-uri origin)
|
||||
((or (? string? url) (url _ ...))
|
||||
(match (string-match (string-append "([^/]*)-v?[0-9\\.]+") url)
|
||||
(match (string-match "([^/]*)-v?[0-9\\.]+" url)
|
||||
(#f #f)
|
||||
(m (match:substring m 1))))
|
||||
(_ #f)))
|
||||
|
|
Loading…
Reference in a new issue