cpt

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

commit e2d233fdc892b93b834e7e67cdb1aef7cfe7e648
parent 934fa076ed875434289da85109538756c7e5647f
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Mon, 10 Feb 2020 11:49:31 +0200

kiss: Fix GNU find bug

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

diff --git a/kiss b/kiss @@ -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]'