aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-19 17:06:30 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-19 17:06:30 +0000
commit6bae6fb8868f8a2b7746d49b305ef26aa3cf2a5c (patch)
tree399f06202b9b6060b78fc35e5e0a72b05bf3eb0d
parentc598870843d7391fe9d5f1a625422297cf8ee33f (diff)
downloadcpt-6bae6fb8868f8a2b7746d49b305ef26aa3cf2a5c.tar.gz
misc: cleanup
FossilOrigin-Name: eba694939379763fcd5383c079718889bd41522c28ebb660aa75049f90bfe79a
-rwxr-xr-xkiss4
1 files changed, 1 insertions, 3 deletions
diff --git a/kiss b/kiss
index b956ac5..461c656 100755
--- a/kiss
+++ b/kiss
@@ -42,12 +42,10 @@ 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.
+ # Figure out *where* the repository entry for the package is located.
repo_dir=$(pkg_search "$1")
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."
[ -s version ] || die "[$1]: Version file not found or empty."