This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

handle the case where grep is an alias to egrep

egrep -G (grep -EG) results in conflicting matchers
  • Loading branch information...
mkomitee committed Feb 20, 2012
1 parent 965dfb4 commit a2a564ab11b00ddad4c677e173f31dd8f87037b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 activate.sh
View
@@ -60,7 +60,7 @@ autoenv_check_authz()
envfile=$1
hash=$(autoenv_hashline "$envfile")
touch $AUTOENV_AUTH_FILE
- grep -Gq "$hash" $AUTOENV_AUTH_FILE
+ \grep -Gq "$hash" $AUTOENV_AUTH_FILE
}
autoenv_check_authz_and_run()

0 comments on commit a2a564a

Please sign in to comment.