aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2009-07-22 20:27:58 +0100
committerMax Howell2009-07-22 20:28:22 +0100
commit7bd9f085580a4113cb73089413147df25608a956 (patch)
tree55afa561398f3e12d0922f23903a2956e9bee802 /bin
parent285b30e4f16a1689e92c3964da093782a6e78721 (diff)
downloadbrew-7bd9f085580a4113cb73089413147df25608a956.tar.bz2
Fix typos
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/brew b/bin/brew
index fd187b99f..4ec8a6468 100755
--- a/bin/brew
+++ b/bin/brew
@@ -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