cpt

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

commit c5cb6e19190120f5cf57f6185bef0ffe846f94bc
parent fce1c70065d62df451b15d624e91af38e22a7f91
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sat, 18 Apr 2020 09:39:34 +0300

kiss: Hide read error message as we have our own

Diffstat:
Mkiss | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -110,7 +110,7 @@ pkg_lint() { [ -x build ] || die "$1" "Build file not found or not executable" [ -s version ] || die "$1" "Version file not found or empty" - read -r _ release < version + read -r _ release 2>/dev/null < version || die "Version file not found" [ "$release" ] || die "Release field not found in version file" [ "$2" ] || [ -f checksums ] || die "$pkg" "Checksums are missing"