diff options
| author | Jack Nagel | 2015-02-18 21:08:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-02-18 21:08:24 -0500 |
| commit | 1ab384a313168e6d7ae4c1c97132addb6499ffbf (patch) | |
| tree | aea4147e84e03f838a311ac52b510b15a1e86add | |
| parent | 3158c398af4517681b01cb92429e49d7546451e7 (diff) | |
| download | brew-1ab384a313168e6d7ae4c1c97132addb6499ffbf.tar.bz2 | |
Revert "Start recording the formula path in the install receipt"
This reverts commit f98d1d660c38afe3caf1450b2443a6d5fab8a14b.
| -rw-r--r-- | Library/Homebrew/tab.rb | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 453706bfe..135a5dcfc 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -11,23 +11,16 @@ class Tab < OpenStruct FILENAME = 'INSTALL_RECEIPT.json' def self.create(formula, compiler, stdlib, build) - attributes = { - :used_options => build.used_options.as_flags, - :unused_options => build.unused_options.as_flags, - :tabfile => formula.prefix.join(FILENAME), - :built_as_bottle => !!ARGV.build_bottle?, - :poured_from_bottle => false, - :tapped_from => formula.tap, - :time => Time.now.to_i, - :HEAD => Homebrew.git_head, - :compiler => compiler, - :stdlib => stdlib, - :source => { - :path => formula.path, - }, - } - - new(attributes) + Tab.new :used_options => build.used_options.as_flags, + :unused_options => build.unused_options.as_flags, + :tabfile => formula.prefix.join(FILENAME), + :built_as_bottle => !!ARGV.build_bottle?, + :poured_from_bottle => false, + :tapped_from => formula.tap, + :time => Time.now.to_i, + :HEAD => Homebrew.git_head, + :compiler => compiler, + :stdlib => stdlib end def self.from_file path @@ -155,11 +148,7 @@ class Tab < OpenStruct :time => time, :HEAD => self.HEAD, :stdlib => (stdlib.to_s if stdlib), - :compiler => (compiler.to_s if compiler), - :source => { - :path => source[:path].to_s, - }, - }) + :compiler => (compiler.to_s if compiler)}) end def write |
