aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-15 10:26:57 +0000
committermerakor <cem@ckyln.com>2020-05-15 10:26:57 +0000
commitd88c7c3f97baa5abbb5e7827712c99f10b82c25b (patch)
treea559a40e3e0ea7ab9d0665b44cfe5d43b9682439
parent9eeff679b41e92cf924eb8097095505340a33937 (diff)
downloadcpt-d88c7c3f97baa5abbb5e7827712c99f10b82c25b.tar.gz
kiss: use diff instead of cmp
FossilOrigin-Name: e93a6358cfa3b9bee848088e152fb8920e5397487553be6054eb9d748f299a61
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index fe1e38d..8e7202c 100755
--- a/kiss
+++ b/kiss
@@ -779,7 +779,7 @@ pkg_verify() {
# Verify all package checksums. This is achieved by generating
# a new set of checksums and then comparing those with the old
# set.
- for pkg do pkg_checksums "$pkg" | cmp - "$(pkg_find "$pkg")/checksums" || {
+ for pkg do pkg_checksums "$pkg" | diff - "$(pkg_find "$pkg")/checksums" || {
log "$pkg" "Checksum mismatch"
# Instead of dying above, log it to the terminal. Also define a