Fix incorrect reference to prefix in manpage

Closes Homebrew/homebrew#24420.
This commit is contained in:
Jack Nagel 2013-11-18 00:08:10 -06:00
parent 290b58bcc0
commit 268787e76d
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ Note that these flags should only appear after a command.
and version, but if it fails, you'll have to make your own template. The wget
formula serves as a simple example. For a complete cheat-sheet, have a look at
`$(brew --prefix)/Library/Contributions/example-formula.rb`
`$(brew --repository)/Library/Contributions/example-formula.rb`
If `--autotools` is passed, create a basic template for an Autotools-style build.
If `--cmake` is passed, create a basic template for a CMake-style build.
@ -411,7 +411,7 @@ to create your own commands without modifying Homebrew's internals.
A number of (useful, but unsupported) external commands are included and enabled
by default:
$ ls `brew --repository`/Library/Contributions/cmd
$ ls $(brew --repository)/Library/Contributions/cmd
Documentation for the included external commands as well as instructions for
creating your own can be found on the wiki:

View File

@ -79,7 +79,7 @@ Show a list of built\-in and external commands\.
Generate a formula for the downloadable file at \fIURL\fR and open it in the editor\. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you\'ll have to make your own template\. The wget formula serves as a simple example\. For a complete cheat\-sheet, have a look at
.
.IP
\fB$(brew \-\-prefix)/Library/Contributions/example\-formula\.rb\fR
\fB$(brew \-\-repository)/Library/Contributions/example\-formula\.rb\fR
.
.IP
If \fB\-\-autotools\fR is passed, create a basic template for an Autotools\-style build\. If \fB\-\-cmake\fR is passed, create a basic template for a CMake\-style build\.
@ -446,7 +446,7 @@ A number of (useful, but unsupported) external commands are included and enabled
.
.nf
$ ls `brew \-\-repository`/Library/Contributions/cmd
$ ls $(brew \-\-repository)/Library/Contributions/cmd
.
.fi
.