cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 2867bbc10ebdbcf609b2ebe01255b998d274360f
parent 66523d5a640ff0a518f21ebe6d7150553215e37c
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Mon, 19 Aug 2019 17:05:48 +0000

misc: cleanup

Diffstat:
Mkiss | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git 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() {