forked from kiss-community/kiss
kiss-size: prepend KISS_ROOT
This commit is contained in:
parent
b2646fc0ef
commit
8a00327cb6
@ -27,7 +27,8 @@ kiss list "${1:-null}" >/dev/null || {
|
|||||||
|
|
||||||
# Filter directories from manifest and leave only files.
|
# Filter directories from manifest and leave only files.
|
||||||
# Directories in the manifest end in a trailing '/'.
|
# Directories in the manifest end in a trailing '/'.
|
||||||
files=$(sed 's|.*/$||' "$KISS_ROOT/var/db/kiss/installed/$1/manifest")
|
files=$(sed -e "s|^|$KISS_ROOT|" -e 's|.*/$||' \
|
||||||
|
"$KISS_ROOT/var/db/kiss/installed/$1/manifest")
|
||||||
|
|
||||||
# Send the file list to 'du'.
|
# Send the file list to 'du'.
|
||||||
# This unquoted variable is safe as word splitting is intended
|
# This unquoted variable is safe as word splitting is intended
|
||||||
|
Loading…
Reference in New Issue
Block a user