Update doc/cookbook: use $HOMEBREW_PREFIX

Use $HOMEBREW_PREFIX instead of `/usr/local` when talking about
formula file path.

Closes Homebrew/homebrew#34568.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Jakukyo Friel 2014-11-30 22:35:51 +08:00 committed by Mike McQuaid
parent 195cac8c91
commit 264886cfc9

View File

@ -91,7 +91,7 @@ All you need to make a formula is a URL to the tarball.
This creates:
`/usr/local/Library/Formula/foo.rb`
`$HOMEBREW_PREFIX/Library/Formula/foo.rb`
And opens it in your `$EDITOR`. It'll look like: