diff options
author | merakor <cem@ckyln.com> | 2021-07-03 22:06:27 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-07-03 22:06:27 +0000 |
commit | 325814da5f50a96ad00ad093ba1ea796e9a5fa7b (patch) | |
tree | 8465202216be5334ff86eef4b87b9e116bf1a539 | |
parent | 9575efbfdd4fb0218c90d5f5ac52aa64bd6a9680 (diff) | |
download | cpt-325814da5f50a96ad00ad093ba1ea796e9a5fa7b.tar.gz |
pkg_extract: fix
FossilOrigin-Name: 1e0ce6216025a128b6f47a2941febaf5e6f2f2bfa42fc511df6c747bf96dbe3c
-rw-r--r-- | src/cpt-lib.in | 2 |
1 files changed, 1 insertions, 1 deletions
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##*/}" || |