diff options
Diffstat (limited to 'Library/Homebrew/build.rb')
| -rw-r--r-- | Library/Homebrew/build.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 14209dd81..0a78f2326 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -115,7 +115,7 @@ class Build end formula.brew do - if ARGV.flag? '--git' + if ARGV.git? system "git", "init" system "git", "add", "-A" end @@ -124,7 +124,7 @@ class Build puts "Type `exit' to return and finalize the installation" puts "Install to this prefix: #{formula.prefix}" - if ARGV.flag? '--git' + if ARGV.git? puts "This directory is now a git repo. Make your changes and then use:" puts " git diff | pbcopy" puts "to copy the diff to the clipboard." |
