README and ISSUE_TEMPLATE: quote $(brew --repo) (#4580)

Always a good idea to quote command substitution.
master
Zhiming Wang 2016-09-08 06:08:35 -04:00 committed by GitHub
parent 24d3447925
commit 3dc500b5c1
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
If Homebrew was updated on Aug 10-11th 2016 and `brew update` always says `Already up-to-date.` you need to run: `cd $(brew --repo) && git fetch && git reset --hard origin/master && brew update`.
If Homebrew was updated on Aug 10-11th 2016 and `brew update` always says `Already up-to-date.` you need to run: `cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update`.
# Please follow the general troubleshooting steps first:

View File

@ -4,7 +4,7 @@ Core formulae for the Homebrew package manager.
## Update Bug
If Homebrew was updated on Aug 10-11th 2016 and `brew update` always says `Already up-to-date.` you need to run:
```bash
cd $(brew --repo) && git fetch && git reset --hard origin/master && brew update
cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update
```
## How do I install these formulae?