diff options
| author | Mike McQuaid | 2011-06-22 18:00:26 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2011-06-22 18:00:45 +0100 |
| commit | ec041b1e0dc2292c528867cf32494bc4f9240eb4 (patch) | |
| tree | 7015e31d7bb6df40e90a24607ae43b0bcf05f84e /Library | |
| parent | 3014739faae8cd5bec52acb573df28737bfc6aae (diff) | |
| download | homebrew-ec041b1e0dc2292c528867cf32494bc4f9240eb4.tar.bz2 | |
Fix missing pourable? reference.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/install.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index b07d2371b..62194e976 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -89,7 +89,7 @@ def install f else f.prefix.mkpath beginning=Time.now - f.install if not f.pouring + f.install if not f.pourable? FORMULA_META_FILES.each do |filename| next if File.directory? filename target_file = filename @@ -99,7 +99,7 @@ def install f f.prefix.install target_file => filename rescue nil (f.prefix+file).chmod 0644 rescue nil end - build_time = Time.now-beginning if not f.pouring + build_time = Time.now-beginning if not f.pourable? end end rescue Exception @@ -121,7 +121,7 @@ def install f begin require 'cleaner' - Cleaner.new f if not f.pouring + Cleaner.new f if not f.pourable? rescue Exception => e opoo "The cleaning step did not complete successfully" puts "Still, the installation was successful, so we will link it into your prefix" |
