misc: cleanup

This commit is contained in:
Dylan Araps 2019-08-19 17:05:48 +00:00
parent 66523d5a64
commit 2867bbc10e

8
kiss
View File

@ -54,12 +54,8 @@ pkg_lint() {
# Ensure that the release field in the version file is set # Ensure that the release field in the version file is set
# to something. The above test checks for the version field inclusively. # to something. The above test checks for the version field inclusively.
read -r _ rel < version read -r _ release < version
[ "$rel" ] || die "Release field not found in version file." [ "$release" ] || die "Release field not found in version file."
# Unset this variable so it isn't used again on a failed
# source. There's no 'local' keyword in POSIX sh.
rel=
} }
pkg_search() { pkg_search() {