aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-10 08:26:34 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-10 08:26:34 +0000
commit6dc4f990ca98a1aca2b50d293b713c76c15f2ea5 (patch)
tree37e151216952d0d4028988ebf99791a6b18fcd25 /kiss
parent0802ce5717291364f0dc971b30298d4779dc4721 (diff)
downloadcpt-6dc4f990ca98a1aca2b50d293b713c76c15f2ea5.tar.gz
kiss cleanup
FossilOrigin-Name: 0fc121578a5989b0dd75ba3555c08f4f3e093cac2be06f9c5bce06b983c59db9
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss8
1 files changed, 3 insertions, 5 deletions
diff --git a/kiss b/kiss
index 898e68f..8c9cebe 100755
--- a/kiss
+++ b/kiss
@@ -450,20 +450,18 @@ pkg_build() {
# Instead of dying above, log it to the terminal. Also define a
# variable so we *can* die after all checksum files have been
# checked.
- no_checkums="$no_checkums$pkg "
+ no_sums="$no_sums$pkg "
}
done
# Die here as packages without checksums were found above.
- [ "$no_checkums" ] &&
- die "Run 'kiss checksum ${no_checkums% }' to generate checksums"
+ [ "$no_sums" ] && die "Checksums missing, run 'kiss checksum ${no_sums% }'"
for pkg; do pkg_sources "$pkg"; done
for pkg; do pkg_verify "$pkg"; done
# Die here as packages with differing checksums were found above.
- [ "$mismatch" ] &&
- die "Checksum mismatch with: ${mismatch% }"
+ [ "$mismatch" ] && die "Checksum mismatch with: ${mismatch% }"
# Finally build and create tarballs for all passed packages and
# dependencies.