From 1859cb34b2042b2b13a8f9bf53080a0ba9139a18 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 26 Sep 2020 01:37:08 +0300 Subject: [PATCH] kiss: just use the var --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 6e90364..ca0303d 100755 --- a/kiss +++ b/kiss @@ -461,7 +461,7 @@ pkg_fixdeps() { esac # Check if ldd result is direct dependency of package. - case ${elf_cmd##*/} in + case $elf_cmd in *readelf) "$elf_cmd" -d "$file" | grep -q "NEEDED.* \[${dep##*/}\]"