🍻 Default formulae for the missing package manager for macOS
Find a file
Arne Jørgensen 09486f5d9e drush: added wrapper to use HOMEBREW_PREFIX.
Added a new bin wrapper script.

The purpose is to set the environment variables ETC_PREFIX and
SHARE_PREFIX - both pointing to HOMEBREW_PREFIX.

As an example drush locates site wide installed commands in
$SHARE_PREFIX/share/drush/commands. SHARE_PREFIX (and ETC_PREFIX)
defaults to /usr and hence drush will look for site wide installed
commands in /usr/share/drush/commands.

That location is outside of where Homebrew should write stuff so this
makes it impossible for other formulas to install site wide commands.

The new wrapper script sets ETC_PREFIX and
SHARE_PREFIX to point to HOMEBREW_PREFIX. And now it is possible to have
other formulas install site wide drush commands.

Closes Homebrew/homebrew#25245.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-14 07:51:57 -08:00
Aliases Remove mt-daapd/firefly 2013-12-02 22:15:55 -08:00
Formula drush: added wrapper to use HOMEBREW_PREFIX. 2014-02-14 07:51:57 -08:00