diff options
Diffstat (limited to 'Library/Homebrew/tab.rb')
| -rw-r--r-- | Library/Homebrew/tab.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index b5bd8a2ad..73895bb04 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -10,16 +10,13 @@ require 'utils/json' class Tab < OpenStruct FILENAME = 'INSTALL_RECEIPT.json' - def self.create f, compiler, stdlib, args - build = f.build.dup - build.args = args - + def self.create(formula, compiler, stdlib, build) Tab.new :used_options => build.used_options, :unused_options => build.unused_options, - :tabfile => f.prefix.join(FILENAME), + :tabfile => formula.prefix.join(FILENAME), :built_as_bottle => !!ARGV.build_bottle?, :poured_from_bottle => false, - :tapped_from => f.tap, + :tapped_from => formula.tap, :time => Time.now.to_i, :HEAD => Homebrew.git_head, :compiler => compiler, |
