Removed invalid option for versions of grep below 2.5.3

Versions of grep below 2.5.3 do not support the --exclude-dir option.
This commit is contained in:
Søren Palmund 2014-04-03 11:58:53 +02:00
commit 1035b9577a

View file

@ -5,9 +5,6 @@
# avoid VCS folders
GREP_OPTIONS=
for PATTERN in .cvs .git .hg .svn; do
GREP_OPTIONS+="--exclude-dir=$PATTERN "
done
GREP_OPTIONS+="--color=auto"
export GREP_OPTIONS="$GREP_OPTIONS"
export GREP_COLOR='1;32'