From 6a3b3119b863d21436438e86ad9db43fc33d3353 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 3 Jul 2019 17:31:00 +0300 Subject: [PATCH] kiss: new --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index 08383d9..8ceddd5 100755 --- a/kiss +++ b/kiss @@ -37,9 +37,9 @@ pkg_lint() { # Check that each mandatory file in the package entry exists. log "[$1]: Checking repository files..." - pkg_location=$(pkg_search "$1") + repo_dir=$(pkg_search "$1") - cd "$pkg_location" || die "'$pkg_location' not accessible" + cd "$repo_dir" || die "'$repo_dir' not accessible" [ -f sources ] || die "[$1]: Sources file not found." [ -x build ] || die "[$1]: Build file not found or not executable."