aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-12-15 17:04:56 +0000
committerMike McQuaid2015-12-15 17:05:24 +0000
commitb0e39203fe38a7498efdc4e0447b6905701230c1 (patch)
treef7c6f336f4c06a8fefcbeac1ef41906927f300c3 /Library
parent50f94e5233877713b9ebcff94f48f623f53b278e (diff)
downloadbrew-b0e39203fe38a7498efdc4e0447b6905701230c1.tar.bz2
bottle: don't use empty tab.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index f642d458d..da915af15 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -203,10 +203,9 @@ module Homebrew
tab = Tab.for_keg(keg)
original_tab = tab.dup
- empty_tab = Tab.empty
- tab["poured_from_bottle"] = empty_tab["poured_from_bottle"]
- tab["HEAD"] = empty_tab["HEAD"]
- tab["time"] = empty_tab["time"]
+ tab["poured_from_bottle"] = false
+ tab["HEAD"] = nil
+ tab["time"] = nil
tab.write
keg.find {|k| File.utime(File.atime(k), formula_source_time, k) }