From b9a81e347fdfa2c56803be56df3dc71a32d40538 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 16 Jul 2021 12:18:32 +0300 Subject: [PATCH] pkg_manifest_validate: fix path joining and swap test around --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index d0a94f5..f7519fc 100755 --- a/kiss +++ b/kiss @@ -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" }