From 325814da5f50a96ad00ad093ba1ea796e9a5fa7b Mon Sep 17 00:00:00 2001 From: merakor Date: Sat, 3 Jul 2021 22:06:27 +0000 Subject: pkg_extract: fix FossilOrigin-Name: 1e0ce6216025a128b6f47a2941febaf5e6f2f2bfa42fc511df6c747bf96dbe3c --- src/cpt-lib.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cpt-lib.in b/src/cpt-lib.in index 2cdc76e..c3aa9ec 100644 --- a/src/cpt-lib.in +++ b/src/cpt-lib.in @@ -713,7 +713,7 @@ pkg_extract() { # which allows for manual extraction. *://*.tar|*://*.tar.??|*://*.tar.???|*://*.tar.????|*://*.tgz|\ *://*.txz|*://*.cpio|*://*.cpio.??|*://*.cpio.???|*://*.cpio.????) - decompress "$src_dir/$1/${src##*/}" | pax -rs '|[^/]*/|.|' ;; + decompress "$src_dir/$1/${src##*/}" | pax -rs '|[^/]*|.|' ;; *://*.zip) unzip "$src_dir/$1/${src##*/}" || -- cgit v1.2.3