utils: 'tarball-sans-extension' recognizes ".tgz".
* guix/utils.scm (tarball-sans-extension): Add ".tgz".master
parent
e917027d1f
commit
6f32e27e97
|
@ -696,6 +696,7 @@ VERSIONS. For example:
|
|||
(define (tarball-sans-extension tarball)
|
||||
"Return TARBALL without its .tar.* or .zip extension."
|
||||
(let ((end (or (string-contains tarball ".tar")
|
||||
(string-contains tarball ".tgz")
|
||||
(string-contains tarball ".zip"))))
|
||||
(substring tarball 0 end)))
|
||||
|
||||
|
|
Reference in New Issue