Fix missing pourable? reference.
This commit is contained in:
parent
2495cdc544
commit
eb7c5fa6d7
@ -89,7 +89,7 @@ def install f
|
|||||||
else
|
else
|
||||||
f.prefix.mkpath
|
f.prefix.mkpath
|
||||||
beginning=Time.now
|
beginning=Time.now
|
||||||
f.install if not f.pouring
|
f.install if not f.pourable?
|
||||||
FORMULA_META_FILES.each do |filename|
|
FORMULA_META_FILES.each do |filename|
|
||||||
next if File.directory? filename
|
next if File.directory? filename
|
||||||
target_file = filename
|
target_file = filename
|
||||||
@ -99,7 +99,7 @@ def install f
|
|||||||
f.prefix.install target_file => filename rescue nil
|
f.prefix.install target_file => filename rescue nil
|
||||||
(f.prefix+file).chmod 0644 rescue nil
|
(f.prefix+file).chmod 0644 rescue nil
|
||||||
end
|
end
|
||||||
build_time = Time.now-beginning if not f.pouring
|
build_time = Time.now-beginning if not f.pourable?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
rescue Exception
|
rescue Exception
|
||||||
@ -121,7 +121,7 @@ def install f
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
require 'cleaner'
|
require 'cleaner'
|
||||||
Cleaner.new f if not f.pouring
|
Cleaner.new f if not f.pourable?
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
opoo "The cleaning step did not complete successfully"
|
opoo "The cleaning step did not complete successfully"
|
||||||
puts "Still, the installation was successful, so we will link it into your prefix"
|
puts "Still, the installation was successful, so we will link it into your prefix"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user