forked from kiss-community/kiss
kiss: better comment
This commit is contained in:
parent
63818fb4ad
commit
6e446059b1
7
kiss
7
kiss
@ -292,9 +292,10 @@ pkg_manifest() (
|
|||||||
# prior directory before being able to continue.
|
# prior directory before being able to continue.
|
||||||
cd "$pkg_dir/$1"
|
cd "$pkg_dir/$1"
|
||||||
|
|
||||||
# Find all files and directories in the package. Directories are printed
|
# find: Print all files and directories and append '/' to directories.
|
||||||
# with a trailing forward slash '/'. The list is then reversed with
|
# sort: Sort the output in *reverse*. Directories appear *after* their
|
||||||
# directories appearing *after* their contents.
|
# contents.
|
||||||
|
# sed: Remove the first character in each line (./dir -> /dir).
|
||||||
find . -mindepth 1 -type d -exec printf '%s/\n' {} + -or -print |
|
find . -mindepth 1 -type d -exec printf '%s/\n' {} + -or -print |
|
||||||
sort -r | sed ss.ss > "$pkg_dir/$1/$pkg_db/$1/manifest"
|
sort -r | sed ss.ss > "$pkg_dir/$1/$pkg_db/$1/manifest"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user