From c58bbdc2138d2eb21ab7ea499beb6994a01891c4 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 5 Sep 2016 22:13:55 +0100 Subject: Formula#specified_path --- Library/Homebrew/formula.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Homebrew/formula.rb') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 90e6b2212..cc26a492e 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -226,6 +226,11 @@ class Formula public + # The path that was specified to find/install this formula. + def specified_path + alias_path || path + end + # Is the currently active {SoftwareSpec} a {#stable} build? # @private def stable? -- cgit v1.2.3