misc: nit

This commit is contained in:
Dylan Araps 2021-07-19 21:32:45 +03:00
parent 13cdbfc8dd
commit b08eac6f02
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -733,7 +733,7 @@ pkg_manifest() {
# Sort the output in reverse. Directories appear after their contents.
sort -r > "$_tmp_file"
# Remove the first character in each line (./dir -> /dir).
# Remove the prefix from each line.
while read -r file; do
printf '%s\n' "${file#"$2/$1"}"
done < "$_tmp_file" > "$2/$1/$pkg_db/$1/manifest"