mirror of
https://github.com/bol-van/zapret.git
synced 2025-06-29 18:21:16 +00:00
install_bin: fix TEST=run
This commit is contained in:
parent
06f57e27ed
commit
6c9ff2010b
@ -88,6 +88,13 @@ check_dir()
|
||||
out=$(echo 0.0.0.0 | $FIND "$dir" -maxdepth 1 -name ip2net -exec {} \; 2>/dev/null)
|
||||
[ -n "$out" ]
|
||||
;;
|
||||
run)
|
||||
out=$(echo 0.0.0.0 | "$exe" 2>/dev/null)
|
||||
[ -n "$out" ]
|
||||
;;
|
||||
*)
|
||||
false
|
||||
;;
|
||||
esac
|
||||
else
|
||||
echo >&2 "$exe is not executable. set proper chmod."
|
||||
|
Loading…
Reference in New Issue
Block a user