kiss: Fix issue with bsdtar

This commit is contained in:
Dylan Araps 2019-06-23 22:05:45 +03:00
parent ec3284d183
commit 0f13158dfa

2
kiss
View File

@ -149,7 +149,7 @@ pkg_conflicts() {
log "Checking for package conflicts."
# Extract manifest from tarball and strip directories.
tar xf "$bin_dir/$pkg" "./var/db/$kiss/$name/manifest" -O |
tar xf "$bin_dir/$pkg" -O "./var/db/$kiss/$name/manifest" |
while read -r line; do
[ "${line%%*/}" ] && printf '%s\n' "$line" >> "$cac_dir/manifest-$$"
done