aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-19 17:05:48 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-19 17:05:48 +0000
commitc598870843d7391fe9d5f1a625422297cf8ee33f (patch)
tree2ac1a5c6aa0d455f90337da66a6fa008b16c75ba /kiss
parent5c6bafcc31899438695dcf5d5a6f8cdc98fd021a (diff)
downloadcpt-c598870843d7391fe9d5f1a625422297cf8ee33f.tar.gz
misc: cleanup
FossilOrigin-Name: 967a8f7244bee6ce9827a82fbbd6f8e270a768b3a245613d4e5b78fb4ecd732e
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss8
1 files changed, 2 insertions, 6 deletions
diff --git a/kiss b/kiss
index b130762..b956ac5 100755
--- a/kiss
+++ b/kiss
@@ -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() {