Mercurial > evolve
diff enable.sh @ 207:15a89eeff66f
fix enable.sh script
it was printing the mercurial version in to HGRC file
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 23 Apr 2012 15:14:51 +0200 |
parents | b0ee408732cd |
children | d254ca935aa5 |
line wrap: on
line diff
--- a/enable.sh Mon Apr 23 15:03:33 2012 +0200 +++ b/enable.sh Mon Apr 23 15:14:51 2012 +0200 @@ -3,7 +3,7 @@ here=`readlink -f "$0"` repo_root=`dirname "$here"` -if !( hg --version -q | grep -e 'version 2\.[1-9]' ); then +if !( hg --version -q | grep -qe 'version 2\.[1-9]' ); then echo 'You need mercurial 2.1 or later' >&2 exit 2 fi