Commit 1cbfe7e0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

real IGNOREGEAR support

parent 8b0ee76b
...@@ -57,6 +57,8 @@ print_list() ...@@ -57,6 +57,8 @@ print_list()
is_gear() is_gear()
{ {
local DIR=$1 local DIR=$1
[ -z "$IGNOREGEAR" ] || return 1
[ -n "$DIR" ] && [ -d "$DIR/.gear" ] && return 0 [ -n "$DIR" ] && [ -d "$DIR/.gear" ] && return 0
[ -d ".gear" ] && return 0 [ -d ".gear" ] && return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment