From: Kurund Jalmi Date: Mon, 11 Mar 2013 04:05:47 +0000 (-0700) Subject: Merge pull request #109 from totten/gitify-pre-commit X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4956069158200f08fd9fee802b0637ef6cbdc129;p=civicrm-core.git Merge pull request #109 from totten/gitify-pre-commit gitify: Setup pre-commit hook --- 4956069158200f08fd9fee802b0637ef6cbdc129 diff --cc bin/gitify index f905d00eba,5e8478aa5c..c17d8eeb62 --- a/bin/gitify +++ b/bin/gitify @@@ -51,13 -72,10 +72,13 @@@ function do_svnify() } function check_dep() { - if [ -z `which git` ]; then + if [ -z "`which git`" ]; then echo "command not found: git" - exit + exit 3 fi + if [ -z `which php` ]; then + echo "command not found: php" + fi } #### Main ####