diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-03 14:30:59 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-03 14:30:59 +0000 |
commit | ec55dc99c5be32a2eaa7fe0ecd276acf372232af (patch) | |
tree | 1b05b8c2b2967b39d4bda2064cbab3be85787093 | |
parent | 93e871561216071d630fa80fee83f05be83145bc (diff) | |
download | cpt-ec55dc99c5be32a2eaa7fe0ecd276acf372232af.tar.gz |
kiss: new
FossilOrigin-Name: 4a9e114d427422477da4c6f26438a711bc2c96be87c79f03b71fb254bd4108b8
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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." |