- Remove HEAD build; HEAD is incompatible with the bash that OS X
ships. Add a comment suggesting users check out homebrew-versions for
a bash-completion 2.0 formula.
- Automatically symlink Homebrew's completion script into the
bash_completion.d directory.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The bash-completion that is installed from head has an entirely new
directory structure. I believe it has some measure of backwards
compatibility in that it will find completion scripts in the old
location, but users still have to source a different file to get it to
actually work, so the caveats have been updated to reflect that.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
If you install bash-completion before git or something else that creates
the bash_completion.d folder, the install of bash-completion itself
will fail. Commenting out until a proper fix can be made.
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
Also fixes etc config.
The call to inreplace had an incorrect path. I tried correcting it
and leaving it as a post-make-install step, but it still did not work.
Moving the inreplace call did the trick.