brew install foo --help
Shows the result of ./configure --help
This commit is contained in:
parent
2097730e40
commit
f352880274
6
bin/brew
6
bin/brew
@ -220,7 +220,11 @@ begin
|
|||||||
o.brew do
|
o.brew do
|
||||||
if ARGV.include? '--interactive'
|
if ARGV.include? '--interactive'
|
||||||
ohai "Entering interactive mode, type `exit' to return to this shell"
|
ohai "Entering interactive mode, type `exit' to return to this shell"
|
||||||
exec "bash" #TODO why exec?
|
exec "bash" # exec() because system() didn't work :(
|
||||||
|
elsif ARGV.include? '--help'
|
||||||
|
ohai './configure --help'
|
||||||
|
puts `./configure --help`
|
||||||
|
exit
|
||||||
else
|
else
|
||||||
o.install
|
o.install
|
||||||
['README','ChangeLog','COPYING','COPYRIGHT','AUTHORS'].each do |file|
|
['README','ChangeLog','COPYING','COPYRIGHT','AUTHORS'].each do |file|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user