diff options
author | merakor <cem@ckyln.com> | 2020-05-15 10:26:57 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-15 10:26:57 +0000 |
commit | d88c7c3f97baa5abbb5e7827712c99f10b82c25b (patch) | |
tree | a559a40e3e0ea7ab9d0665b44cfe5d43b9682439 | |
parent | 9eeff679b41e92cf924eb8097095505340a33937 (diff) | |
download | cpt-d88c7c3f97baa5abbb5e7827712c99f10b82c25b.tar.gz |
kiss: use diff instead of cmp
FossilOrigin-Name: e93a6358cfa3b9bee848088e152fb8920e5397487553be6054eb9d748f299a61
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |