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