diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2019-09-29 17:45:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2019-09-29 17:45:07 +0200 |
commit | 2045193013cf9f18c3bdf6e81daf2bb87c17bff4 (patch) | |
tree | c46dd427297296514eb118a0fe930485b23ba0cc /scripts | |
parent | f78e75c848a92e1a41304d2a377c74fb63fda7d5 (diff) |
fix prereq.sh on NetBSD 8.1
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/prereq.sh | 4 |
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 |