From 268787e76db6d2a5cd26024728bc319e29de99b0 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 18 Nov 2013 00:08:10 -0600 Subject: [PATCH] Fix incorrect reference to prefix in manpage Closes Homebrew/homebrew#24420. --- Library/Contributions/manpages/brew.1.md | 4 ++-- share/man/man1/brew.1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 2806647045..6b03175693 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 980cbb07b9..5940ea7a51 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 .