diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-04-04 22:24:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-04-05 12:03:09 +0200 |
commit | 6f32e27e970c2f92e5ee1b5b5ce513c61484178e (patch) | |
tree | f787a11ad90af0d1ec60135bdc4f9816ea236741 | |
parent | e917027d1f6152475777239fa87a230039f355bb (diff) | |
download | guix-6f32e27e970c2f92e5ee1b5b5ce513c61484178e.tar.gz |
utils: 'tarball-sans-extension' recognizes ".tgz".
* guix/utils.scm (tarball-sans-extension): Add ".tgz".
-rw-r--r-- | guix/utils.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/utils.scm b/guix/utils.scm index 2dd1ddeb8a..05af86fc37 100644 --- a/guix/utils.scm +++ b/guix/utils.scm @@ -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))) |