summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prereq.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/prereq.sh b/scripts/prereq.sh
index c2f3bb73e..f86af6435 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