diff options
| author | Eugene Nikolsky | 2017-04-01 19:00:24 -0700 |
|---|---|---|
| committer | Eugene Nikolsky | 2017-04-01 20:12:00 -0700 |
| commit | edd9a9717cf08eabb54001679653e37732d5ce2d (patch) | |
| tree | c53e8df2774ba3774d76a0190637f644bba6f626 /Library/Homebrew/dev-cmd/pull.rb | |
| parent | 974b5e2fa26a162d29f97e996eb687b12a46a952 (diff) | |
| download | brew-edd9a9717cf08eabb54001679653e37732d5ce2d.tar.bz2 | |
Fix the 'export PATH' message in `link` for a keg-only formula
Commit 4cae6a724e6d684eb157dd6d7328755694f228b2 introduced the message,
but it printed the wrong path, e.g. for `brew link sqlite`:
```
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/usr/local/opt/sqlite:$PATH"' >> ~/.zshrc/bin
```
where `/bin` is appended at the end, but should be inserted before
`:$PATH`: `echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.zshrc`.
This patch fixes that and updates a test to verify it.
Diffstat (limited to 'Library/Homebrew/dev-cmd/pull.rb')
0 files changed, 0 insertions, 0 deletions
