Commit 69d1aac2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions: is_wildcard: more strong check

parent 88deaa62
......@@ -244,8 +244,7 @@ is_dirpath()
is_wildcard()
{
echo "$1" | grep -q "[*?]" && return
echo "$1" | grep -q "\]" && return
echo "$1" | grep -q "\[" && return
echo "$1" | grep -q "\[.*\]" && return
}
filter_strip_spaces()
......
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