docs/Installation: Use the documented --strip-components tar argument
`--strip-components` is the documented tar option, `--strip` only works because tar (both BSD and GNU) does partial matching on long options.
This commit is contained in:
parent
f590dadbf2
commit
fced907a63
@ -61,7 +61,7 @@ Technically, you can just extract (or `git clone`) Homebrew wherever you want. H
|
|||||||
**TL;DR: pick another prefix at your peril!**
|
**TL;DR: pick another prefix at your peril!**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
|
mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip-components 1 -C homebrew
|
||||||
```
|
```
|
||||||
|
|
||||||
or:
|
or:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user