aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 677ee99e4..af585e361 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -171,7 +171,7 @@ class Formula
def var; HOMEBREW_PREFIX+'var' end
def bash_completion
- etc = ENV['HOMEBREW_GIT_ETC'] ? etc : prefix+'etc'
+ etc = ENV['HOMEBREW_GIT_ETC'] ? self.etc : prefix+'etc'
etc+'bash_completion.d'
end
def zsh_completion; share+'zsh/site-functions' end