diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-10 09:49:31 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-02-10 09:49:31 +0000 |
commit | 20d01c3f39c01b548b9b2c97b58e1467b5d396fd (patch) | |
tree | 80a0a6876934b94c24199e5cf6c811e9fab6b78d | |
parent | 588efeccdadbfa8e9965101423231d2f31b71cf6 (diff) | |
download | cpt-20d01c3f39c01b548b9b2c97b58e1467b5d396fd.tar.gz |
kiss: Fix GNU find bug
FossilOrigin-Name: afd5aeac8103f850351de4f91079181b5b7be2265fa034fe056825cb29fffa09
-rwxr-xr-x | kiss | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -951,7 +951,9 @@ pkg_install() { cd "$tar_dir/$pkg_name" # Create all directories beforehand. - find etc -type d -exec mkdir -p /{} + + find etc -type d | while read -r dir; do + mkdir -p "$KISS_ROOT/$dir" + done # Handle files in /etc/ based on a 3-way checksum check. find etc -type f | while read -r file; do @@ -1287,7 +1289,7 @@ args() { l|list) pkg_list "$@" ;; u|update) pkg_updates ;; s|search) for pkg; do pkg_find "$pkg" all; done ;; - v|version) log kiss 1.4.1 ;; + v|version) log kiss 1.4.2 ;; h|help|-h|--help|'') log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]' |