From fa1503e37b329602bd8679ba1989c8bc7580373b Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 15 May 2020 17:37:19 +0000 Subject: kiss: fix tarball extraction where there are files with spaces FossilOrigin-Name: 92e2eb771a2e8bcb3d54b9dd5e53d3a85259658ac0ad5124b62348a8037984a4 --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index 8e7202c..39d1069 100755 --- 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 -- cgit v1.2.3