guix-commits
[Top][All Lists]
Advanced

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

13/21: import: cpan: Remove unary 'string-append' call.


From: guix-commits
Subject: 13/21: import: cpan: Remove unary 'string-append' call.
Date: Wed, 31 May 2023 17:52:50 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit f13e73df102c6b1d429df2ac898e438ed0cd76a6
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed May 17 22:24:11 2023 +0200

    import: cpan: Remove unary 'string-append' call.
    
    * guix/import/cpan.scm (package->upstream-name): Remove useless
    'string-append'.
---
 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 da47018c35..d7f300777e 100644
--- a/guix/import/cpan.scm
+++ b/guix/import/cpan.scm
@@ -154,7 +154,7 @@ return \"Test-Simple\""
           ((? 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)))



reply via email to

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