diff options
| author | Jack Nagel | 2014-11-03 21:33:20 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-03 21:39:11 -0600 |
| commit | 3c9cc18c17d9558cca491253d0e4b7d8f04cd7c8 (patch) | |
| tree | aab21b838a386d7c744a953e92e79ec3876e02dc /Library/Homebrew/cmd | |
| parent | 34c0b40abf0af354af4cb1a0e739c74d1b020b34 (diff) | |
| download | brew-3c9cc18c17d9558cca491253d0e4b7d8f04cd7c8.tar.bz2 | |
Add ARGV.git?
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/unpack.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 986ab6afc..14f6a2a12 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -125,7 +125,7 @@ module Homebrew fi.build_from_source = ARGV.build_from_source? fi.force_bottle = ARGV.force_bottle? fi.interactive = ARGV.interactive? - fi.interactive &&= :git if ARGV.flag? "--git" + fi.interactive &&= :git if ARGV.git? fi.verbose = ARGV.verbose? fi.verbose &&= :quieter if ARGV.quieter? fi.debug = ARGV.debug? diff --git a/Library/Homebrew/cmd/unpack.rb b/Library/Homebrew/cmd/unpack.rb index 9c71f8025..d33a9f9cc 100644 --- a/Library/Homebrew/cmd/unpack.rb +++ b/Library/Homebrew/cmd/unpack.rb @@ -36,7 +36,7 @@ module Homebrew f.brew { cp_r getwd, stage_dir } ENV['VERBOSE'] = nil - if ARGV.flag? "--git" + if ARGV.git? ohai "Setting up git repository" cd stage_dir system "git", "init", "-q" |
