aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-11-18 00:08:10 -0600
committerJack Nagel2013-11-18 00:08:11 -0600
commit6f6af535a8214cc9b3ab37154b894d6390e535f1 (patch)
treebd476ea2475e4564e8b52d5eff04ad8cc001d88a
parentc9c537436a3a42bf9bfa80f11c80bbd98064a471 (diff)
downloadhomebrew-6f6af535a8214cc9b3ab37154b894d6390e535f1.tar.bz2
Fix incorrect reference to prefix in manpage
Closes #24420.
-rw-r--r--Library/Contributions/manpages/brew.1.md4
-rw-r--r--share/man/man1/brew.14
2 files changed, 4 insertions, 4 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index 280664704..6b0317569 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -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:
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 980cbb07b..5940ea7a5 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -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
.