From 15f16162fb960e496c971b2be45b5155e0f4427b Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Fri, 6 Jan 2017 17:20:16 +0100 Subject: lib: remove unused version, pkgparts --- lib/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.sh b/lib/common.sh index 780962c..387fb8c 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -180,7 +180,7 @@ pkgver_equal() { find_cached_package() { local searchdirs=("$PWD" "$PKGDEST") results=() local targetname=$1 targetver=$2 targetarch=$3 - local dir pkg pkgbasename pkgparts name ver rel arch size r results + local dir pkg pkgbasename name ver rel arch r results for dir in "${searchdirs[@]}"; do [[ -d $dir ]] || continue -- cgit v1.2.3-24-g4f1b