misc: cleanup

This commit is contained in:
Dylan Araps 2019-08-19 17:05:48 +00:00
parent 66523d5a64
commit 2867bbc10e
1 changed files with 2 additions and 6 deletions

8
kiss
View File

@ -54,12 +54,8 @@ pkg_lint() {
# Ensure that the release field in the version file is set
# to something. The above test checks for the version field inclusively.
read -r _ rel < version
[ "$rel" ] || 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=
read -r _ release < version
[ "$release" ] || die "Release field not found in version file."
}
pkg_search() {