fix enable.sh script
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 23 Apr 2012 15:14:51 +0200
changeset 207 15a89eeff66f
parent 206 80f602e6ae8a
child 208 05d6e3e36980
fix enable.sh script it was printing the mercurial version in to HGRC file
enable.sh
--- 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