forked from kiss-community/kiss
misc: nit
This commit is contained in:
parent
402e5cf5de
commit
95e3fc8f8e
12
kiss
12
kiss
@ -568,16 +568,16 @@ pkg_manifest() (
|
||||
cd "${2:-$pkg_dir}/$1"
|
||||
|
||||
# find: Print all files and directories and append '/' to directories.
|
||||
{
|
||||
find . -type d -exec printf '%s/\n' {} +
|
||||
find . ! -type d -print
|
||||
} |
|
||||
|
||||
# sort: Sort the output in *reverse*. Directories appear *after* their
|
||||
# contents.
|
||||
# sed: Remove the first character in each line (./dir -> /dir) and
|
||||
# remove all lines which only contain '.'.
|
||||
{
|
||||
find . -type d -exec printf '%s/\n' {} +
|
||||
find . ! -type d -print
|
||||
|
||||
} | sort -r |
|
||||
sed '/^\.\/$/d;ss.ss' > "${2:-$pkg_dir}/$1/$pkg_db/$1/manifest"
|
||||
sort -r | sed '/^\.\/$/d;ss.ss' > "$PWD/$pkg_db/$1/manifest"
|
||||
)
|
||||
|
||||
pkg_etcsums() (
|
||||
|
Loading…
Reference in New Issue
Block a user