cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 060e5f9802bbba11ebccfca8488e376d47ed481f
parent b098110b5c878cd72dee80d9997f6d4376875794
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 15 May 2020 20:37:19 +0300

kiss: fix tarball extraction where there are files with spaces

Diffstat:
Mkiss | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kiss b/kiss @@ -353,8 +353,8 @@ pkg_extract() { # # Word splitting is intentional here. # shellcheck disable=2046 - set -- $(find . \( ! -name . -prune \) ! -name "$dir") - mv -f "$@" .. + find . \( ! -name . -prune \) ! -name "$dir" \ + -exec mv -f {} .. \; # If a file/directory with the same name as the directory # exists, append a '.kissbak' to it and move it to the