Skip to content
Snippets Groups Projects
Commit ee7869b0 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

formula: fix git_etc bash_completion handling.

parent e33c01aa
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,10 @@ class Formula ...@@ -170,7 +170,10 @@ class Formula
# generally we don't want var stuff inside the keg # generally we don't want var stuff inside the keg
def var; HOMEBREW_PREFIX+'var' end def var; HOMEBREW_PREFIX+'var' end
def bash_completion; prefix+'etc/bash_completion.d' end def bash_completion
etc = ENV['HOMEBREW_GIT_ETC'] ? etc : prefix+'etc'
etc+'bash_completion.d'
end
def zsh_completion; share+'zsh/site-functions' end def zsh_completion; share+'zsh/site-functions' end
# for storing etc, var files for later copying from bottles # for storing etc, var files for later copying from bottles
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment