aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-13 21:25:35 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-13 21:25:35 +0000
commit51824fa7085088f686932fe1ebbf2ba46dfb0480 (patch)
tree95ec8969296cec2f525c4f6dea95599fdf020072 /kiss
parentcebd059b6e8ff86ed01cf0007230d3b3971acbae (diff)
downloadcpt-51824fa7085088f686932fe1ebbf2ba46dfb0480.tar.gz
docs: update
FossilOrigin-Name: 7fb1f6100563a4bc8f400206c4ae35d65d6af0b1f4de197c96916d666553f69e
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 3 insertions, 1 deletions
diff --git a/kiss b/kiss
index 785cd6a..a31dfd6 100755
--- a/kiss
+++ b/kiss
@@ -37,6 +37,8 @@ pkg_lint() {
# Check that each mandatory file in the package entry exists.
log "[$1]: Checking repository files..."
+ # Figure out *where* the repository entry for the package
+ # is located.
repo_dir=$(pkg_search "$1")
cd "$repo_dir" || die "'$repo_dir' not accessible"
@@ -46,7 +48,7 @@ pkg_lint() {
[ -s version ] || die "[$1]: Version file not found or empty."
# Ensure that the release field in the version file is set
- # to something.
+ # to something. The above test checks for the version field inclusively.
read -r _ rel < version
[ "$rel" ] || die "Release field not found in version file."