diff options
| -rw-r--r-- | Library/Homebrew/cmd/--repository.rb | 3 | ||||
| -rw-r--r-- | docs/Manpage.md | 3 | ||||
| -rw-r--r-- | docs/Python-for-Formula-Authors.md | 14 | ||||
| -rw-r--r-- | manpages/brew.1 | 2 |
4 files changed, 9 insertions, 13 deletions
diff --git a/Library/Homebrew/cmd/--repository.rb b/Library/Homebrew/cmd/--repository.rb index 7a25aba1c..006d4cd5d 100644 --- a/Library/Homebrew/cmd/--repository.rb +++ b/Library/Homebrew/cmd/--repository.rb @@ -1,6 +1,5 @@ #: * `--repository`: -#: Display where Homebrew's `.git` directory is located. For standard installs, -#: the `prefix` and `repository` are the same directory. +#: Display where Homebrew's `.git` directory is located. #: #: * `--repository` <user>`/`<repo>: #: Display where tap <user>`/`<repo>'s directory is located. diff --git a/docs/Manpage.md b/docs/Manpage.md index aa20b3367..b679bd581 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -599,8 +599,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note Display the location in the cellar where `formula` is or would be installed. * `--repository`: - Display where Homebrew's `.git` directory is located. For standard installs, - the `prefix` and `repository` are the same directory. + Display where Homebrew's `.git` directory is located. * `--repository` `user``/``repo`: Display where tap `user``/``repo`'s directory is located. diff --git a/docs/Python-for-Formula-Authors.md b/docs/Python-for-Formula-Authors.md index ea86cf84c..8b4bc2cb4 100644 --- a/docs/Python-for-Formula-Authors.md +++ b/docs/Python-for-Formula-Authors.md @@ -98,14 +98,12 @@ def install venv = virtualenv_create(libexec) # Install all of the resources declared on the formula into the virtualenv. venv.pip_install resources - # `link_scripts` takes a look at the virtualenv's bin directory before and - # after executing the block which is passed into it. If the block caused any - # new scripts to be written to the virtualenv's bin directory, link_scripts - # will symlink those scripts into the path given as its argument (here, the - # formula's `bin` directory in the Cellar.) - # `pip_install buildpath` will install the package that the formula points to, - # because buildpath is the location where the formula's tarball was unpacked. - venv.link_scripts(bin) { venv.pip_install buildpath } + # `pip_install_and_link` takes a look at the virtualenv's bin directory + # before and after installing its argument. New scripts will be symlinked + # into `bin`. `pip_install_and_link buildpath` will install the package + # that the formula points to, because buildpath is the location where the + # formula's tarball was unpacked. + venv.pip_install_and_link buildpath end ``` diff --git a/manpages/brew.1 b/manpages/brew.1 index c05702c68..b16867186 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -624,7 +624,7 @@ Display the location in the cellar where \fIformula\fR is or would be installed\ . .TP \fB\-\-repository\fR -Display where Homebrew\'s \fB\.git\fR directory is located\. For standard installs, the \fBprefix\fR and \fBrepository\fR are the same directory\. +Display where Homebrew\'s \fB\.git\fR directory is located\. . .TP \fB\-\-repository\fR \fIuser\fR\fB/\fR\fIrepo\fR |
