From cec912a496f46dc4ab57467267480c353b31eb47 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 17 Jul 2021 11:21:26 +0300 Subject: [PATCH] misc: nit --- kiss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kiss b/kiss index 4226b56..35a73df 100755 --- a/kiss +++ b/kiss @@ -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"