Browse Source

blockcheck: correct make command line for OpenBSD and MacOS

pull/178/head
bol-van 1 year ago
parent
commit
cad3dc383b
  1. 11
      blockcheck.sh

11
blockcheck.sh

@ -251,7 +251,16 @@ check_prerequisites()
echo \* checking prerequisites
[ "$UNAME" = Darwin -o -x "$PKTWS" ] && [ -x "$TPWS" ] && [ -x "$MDIG" ] || {
echo $PKTWS or $TPWS or $MDIG is not available. run \"$ZAPRET_BASE/install_bin.sh\" or make -C \"$ZAPRET_BASE\"
local target
case $UNAME in
Darwin)
target="mac"
;;
OpenBSD)
target="bsd"
;;
esac
echo $PKTWS or $TPWS or $MDIG is not available. run \"$ZAPRET_BASE/install_bin.sh\" or \`make -C \"$ZAPRET_BASE\" $target\`
exitp 6
}

Loading…
Cancel
Save