mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-09-28 12:22:39 -06:00
misc: nit
This commit is contained in:
parent
c2f90e93b0
commit
cec912a496
6
kiss
6
kiss
@ -668,10 +668,8 @@ pkg_manifest() {
|
|||||||
find . ! -path . -type d -exec printf '%s/\n' {} + \
|
find . ! -path . -type d -exec printf '%s/\n' {} + \
|
||||||
-o \( ! -type d -a ! -name \*.la -a ! -name charset.alias \) -print |
|
-o \( ! -type d -a ! -name \*.la -a ! -name charset.alias \) -print |
|
||||||
|
|
||||||
# sort: Sort the output in *reverse*. Directories appear *after* their
|
# Sort the output in reverse. Directories appear after their contents.
|
||||||
# contents.
|
# Remove the first character in each line (./dir -> /dir) and
|
||||||
# sed: Remove the first character in each line (./dir -> /dir) and
|
|
||||||
# remove all lines which only contain '.'.
|
|
||||||
sort -r | sed ss.ss > "$PWD/$pkg_db/$1/manifest"
|
sort -r | sed ss.ss > "$PWD/$pkg_db/$1/manifest"
|
||||||
|
|
||||||
cd "$OLDPWD"
|
cd "$OLDPWD"
|
||||||
|
Loading…
Reference in New Issue
Block a user