diff --git a/Cellar/homebrew/brew b/Cellar/homebrew/brew index e0c1ca1825..692cac5a01 100755 --- a/Cellar/homebrew/brew +++ b/Cellar/homebrew/brew @@ -1,8 +1,8 @@ #!/usr/bin/ruby # Copyright 2009 Max Howell # Licensed as per the GPL version 3 -require 'Find' -require 'Pathname' +require 'find' +require 'pathname' $root = Pathname.new(__FILE__).realpath.dirname.parent.parent case ARGV[0] @@ -36,7 +36,7 @@ case ARGV[0] $root.find do |path| if path.directory? name=path.basename - Find.prune if name == 'brews' or name == 'yeasts' + Find.prune if name == 'Cellar' or name == 'Formula' elsif path.symlink? path.unlink unless path.readlink.exist? end diff --git a/Cellar/homebrew/brewkit.rb b/Cellar/homebrew/brewkit.rb index 92ab72104a..65513eb56c 100644 --- a/Cellar/homebrew/brewkit.rb +++ b/Cellar/homebrew/brewkit.rb @@ -1,8 +1,8 @@ # Copyright 2009 Max Howell # Licensed as per the GPL version 3 -require 'FileUtils' -require 'Find' -require 'Pathname' +require 'find' +require 'pathname' +require 'fileutils' $agent = "Homebrew 0.1 (Ruby; Mac OS X 10.5 Leopard)" $cellar = Pathname.new(__FILE__).dirname.parent.realpath diff --git a/Formula/grc.rb b/Formula/grc.rb index 32dc460fa3..d26d9f9532 100644 --- a/Formula/grc.rb +++ b/Formula/grc.rb @@ -1,6 +1,6 @@ $:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks require 'brewkit' -require 'FileUtils' +require 'fileutils' def profile_string <<-sput