diff options
author | merakor <cem@ckyln.com> | 2020-05-15 17:37:19 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-15 17:37:19 +0000 |
commit | fa1503e37b329602bd8679ba1989c8bc7580373b (patch) | |
tree | 3913b911798ba1434ff6dfb42d9843f918e28888 | |
parent | 994b2432c5415ab8d3df1c6414b2be57c272d62e (diff) | |
download | cpt-fa1503e37b329602bd8679ba1989c8bc7580373b.tar.gz |
kiss: fix tarball extraction where there are files with spaces
FossilOrigin-Name: 92e2eb771a2e8bcb3d54b9dd5e53d3a85259658ac0ad5124b62348a8037984a4
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |