update git hook

This commit is contained in:
John Bintz 2011-08-18 14:53:55 -04:00
parent a60758eaf7
commit 7c0f49e931
1 changed files with 6 additions and 3 deletions

View File

@ -2,9 +2,12 @@
OLD_GIT_DIR=$GIT_DIR
unset GIT_DIR
penchant gemfile remote
GIT_DIR=$OLD_GIT_DIR
if [ $(penchant gemfile-env) != "remote" ]; then
unset GIT_DIR
penchant gemfile remote
GIT_DIR=$OLD_GIT_DIR
git add Gemfile
fi
bundle exec rake
R=$?