mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
kiss: Simplify manifest find.
This commit is contained in:
parent
c08797334f
commit
8de5bd2594
5
kiss
5
kiss
@ -131,9 +131,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() {
|
||||
|
Loading…
Reference in New Issue
Block a user