Skip to content

Commit

Permalink
handle the case where grep is an alias to egrep
Browse files Browse the repository at this point in the history
egrep -G (grep -EG) results in conflicting matchers
  • Loading branch information
mkomitee committed Feb 20, 2012
1 parent 965dfb4 commit a2a564a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activate.sh
Expand Up @@ -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()
Expand Down

0 comments on commit a2a564a

Please sign in to comment.