diff options
| author | Max Howell | 2009-07-22 20:27:58 +0100 |
|---|---|---|
| committer | Max Howell | 2009-07-22 20:28:22 +0100 |
| commit | 7bd9f085580a4113cb73089413147df25608a956 (patch) | |
| tree | 55afa561398f3e12d0922f23903a2956e9bee802 /bin | |
| parent | 285b30e4f16a1689e92c3964da093782a6e78721 (diff) | |
| download | brew-7bd9f085580a4113cb73089413147df25608a956.tar.bz2 | |
Fix typos
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -235,7 +235,7 @@ begin raise "#{o.prefix} already exists!" if o.prefix.exist? o.brew do if ARGV.include? '--interactive' - ohai "Entering interactive mode, type `exit' to return to this shell" + ohai "Entering interactive mode, type `exit' to return to finalize installation" puts "Install to this prefix: #{o.prefix}" pid=fork if pid.nil? @@ -250,7 +250,7 @@ begin else o.prefix.mkpath o.install - ['README','ChangeLog','COPYING','COPYRIGHT','AUTHORS'].each do |file| + %w[README ChangeLog COPYING COPYRIGHT AUTHORS].each do |file| FileUtils.cp file, o.prefix if File.file? file end #this is common, and we don't want it @@ -272,12 +272,15 @@ begin raise end end + when 'ln' n=0 shift_formulae_from_ARGV.each {|name| n+=ln name} puts "Created #{n} links" + when 'rm', 'uninstall' shift_formulae_from_ARGV.each {|name| rm name} + when 'mk' require 'brewkit' url=ARGV.shift |
