aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-19 14:24:05 +0100
committerMike McQuaid2013-10-19 14:24:33 +0100
commit3303dee94e531ad44769071e1c7021d53a1fd377 (patch)
treece55df61a07778f95851fafe8fea4e8480979aed /Library/Homebrew/formula.rb
parent9cd0f348a4bfc0cec4b31e248ad3cdfcfac8058e (diff)
downloadhomebrew-3303dee94e531ad44769071e1c7021d53a1fd377.tar.bz2
HOMEBREW_GIT_ETC: fix nil etc bug.
Diffstat (limited to 'Library/Homebrew/formula.rb')
-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