Skip to content

Commit

Permalink
Merge pull request #16 from mkomitee/master
Browse files Browse the repository at this point in the history
Handle case where grep is an alias to egrep or grep -E
  • Loading branch information
Kenneth Reitz committed Feb 20, 2012
2 parents 965dfb4 + a2a564a commit 011d133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activate.sh
Original file line number Diff line number Diff line change
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 011d133

Please sign in to comment.