diff --git a/contrib/kiss-size b/contrib/kiss-size index 219965f..4af2944 100755 --- a/contrib/kiss-size +++ b/contrib/kiss-size @@ -29,7 +29,7 @@ kiss list "${1:-null}" >/dev/null || { # Directories in the manifest end in a trailing '/'. # Send the file list to 'xargs' to run through 'du', # this prevents du from exiting due to too many arguments -sed -e "s|^|$KISS_ROOT|" -e 's|.*/$||' \ +sed -e "s|^|$KISS_ROOT|" -e '/.*\/$/d' -e 's/[^[:alnum:]]/\\&/g' \ "$KISS_ROOT/var/db/kiss/installed/$1/manifest" \ | xargs du -sk -- 2>/dev/null |