Skip to content

Commit 7a24a6d

Browse files
committed
Merge pull request #4 from runephilosof/fix-grep
make sure the tab is treated correctly.
2 parents 3cb4c14 + 34ec6c2 commit 7a24a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git_rails

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fi
1313
files_changed=`git diff $old_ref $new_ref --name-status`
1414

1515
# CHECK IF WE NEED TO DO A BUNDLE
16-
bundle_changed=`echo "$files_changed" | egrep 'M\tGemfile.lock'`
16+
bundle_changed=`echo "$files_changed" | grep $'M\tGemfile.lock'`
1717
if [ ! -z "$bundle_changed" ]; then
1818
echo "Your Gemfile.lock has changed, running bundle"
1919
bundle

0 commit comments

Comments
 (0)