1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 08:00:05 -07:00

pkg_manifest_validate: fix path joining and swap test around

This commit is contained in:
Dylan Araps 2021-07-16 12:18:32 +03:00
parent 92d8513908
commit b9a81e347f
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
kiss
View File

@ -699,7 +699,7 @@ pkg_manifest_validate() {
log "$1" "Checking if manifest valid"
while read -r line; do
[ -h "./$line" ] || [ -e "./$line" ] || {
[ -e "$tar_dir/$1$line" ] || [ -h "$tar_dir/$1$line" ] || {
printf '%s\n' "$line"
set -- "$@" "$line"
}