aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss5
1 files changed, 2 insertions, 3 deletions
diff --git a/kiss b/kiss
index 932672e..90e918d 100755
--- a/kiss
+++ b/kiss
@@ -132,9 +132,8 @@ pkg_strip() {
pkg_manifest() {
# Store the file and directory list of the package.
# Directories have a trailing '/' and the list is sorted in reverse.
- (cd "$pkg_dir" && {
- find ./* -type d -print | sed 's!$!/!'; find . \! -type d
- }) | sort -r | sed -e ss.ss | tee manifest > "$pkg_db/$name/manifest"
+ (cd "$pkg_dir" && find ./* -type d -exec printf '%s/\n' {} + -or -print) |
+ sort -r | sed -e ss.ss | tee manifest > "$pkg_db/$name/manifest"
}
pkg_tar() {