aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-18 11:24:52 +0000
committermerakor <cem@ckyln.com>2020-04-18 11:24:52 +0000
commitf0e28746c481e0a800c103d88b7cdbe73da23da6 (patch)
tree14b3adc706d3cf3f262bd182ee0b0aa0c181acf6
parentc72bbe9c5928ddd8e44b51e59aa23fd2a300a81d (diff)
downloadcpt-f0e28746c481e0a800c103d88b7cdbe73da23da6.tar.gz
kiss: Hide read error message as we have our own
FossilOrigin-Name: d40af73a99d8fecac0c8add9ad5e23142ce68eadd936edd610bf77261686dfcd
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 8fc369b..29f09f4 100755
--- 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"