summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-09-29 15:45:07 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2019-09-29 15:45:07 (GMT)
commit2045193013cf9f18c3bdf6e81daf2bb87c17bff4 (patch)
treec46dd427297296514eb118a0fe930485b23ba0cc
parentf78e75c848a92e1a41304d2a377c74fb63fda7d5 (diff)
fix prereq.sh on NetBSD 8.1
-rwxr-xr-xscripts/prereq.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/prereq.sh b/scripts/prereq.sh
index c2f3bb7..f86af64 100755
--- a/scripts/prereq.sh
+++ b/scripts/prereq.sh
@@ -2,6 +2,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
+#set -x
+
# resolve prerequisites for OpenADK build
topdir=$(pwd)
@@ -81,7 +83,7 @@ for tool in $tools; do
SHA256="$(which $tool) -q"
;;
cksum)
- if cksum -q >/dev/null 2>/dev/null; then
+ if cksum -t >/dev/null 2>/dev/null; then
SHA256="$(which $tool) -q -a sha256"
else
continue