update git hook
This commit is contained in:
parent
a60758eaf7
commit
7c0f49e931
@ -2,9 +2,12 @@
|
||||
|
||||
OLD_GIT_DIR=$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=$?
|
||||
|
Loading…
Reference in New Issue
Block a user