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

Always a good idea to quote command substitution.
This commit is contained in:
Zhiming Wang 2016-09-07 11:21:41 -04:00
parent 9586390418
commit 1a0220d9de
No known key found for this signature in database
GPG Key ID: BBD31D4D110044B8
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: # Please follow the general troubleshooting steps first:

View File

@ -4,7 +4,7 @@ Features, usage and installation instructions are [summarised on the homepage](h
## Update Bug ## Update Bug
If Homebrew was updated on Aug 10-11th 2016 and `brew update` always says `Already up-to-date.` you need to run: If Homebrew was updated on Aug 10-11th 2016 and `brew update` always says `Already up-to-date.` you need to run:
```bash ```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
``` ```
## What Packages Are Available? ## What Packages Are Available?