mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 23:04:23 +00:00
blockcheck: correct make command line for OpenBSD and MacOS
This commit is contained in:
parent
8385394fd6
commit
cad3dc383b
@ -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…
Reference in New Issue
Block a user