aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index dd90d72ee..867b7689d 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -347,6 +347,12 @@ class Formula
method(:post_install).owner == self.class
end
+ # @private
+ def run_post_install
+ self.build = Tab.for_formula(self)
+ post_install
+ end
+
# tell the user about any caveats regarding this package, return a string
def caveats; nil end