misc: nit

This commit is contained in:
Dylan Araps 2021-07-17 11:21:26 +03:00
parent c2f90e93b0
commit cec912a496
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

6
kiss
View File

@ -668,10 +668,8 @@ pkg_manifest() {
find . ! -path . -type d -exec printf '%s/\n' {} + \
-o \( ! -type d -a ! -name \*.la -a ! -name charset.alias \) -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 '.'.
# Sort the output in reverse. Directories appear after their contents.
# Remove the first character in each line (./dir -> /dir) and
sort -r | sed ss.ss > "$PWD/$pkg_db/$1/manifest"
cd "$OLDPWD"