aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhiming Wang2016-09-08 06:09:39 -0400
committerGitHub2016-09-08 06:09:39 -0400
commit495419a4ee0456e592bd32906b2d4a4cfa9dbf99 (patch)
treed1d59b4cca5dc79ac6a5e4a5715509de8deb144e
parent3dff6f61d80d38fafdbc80e8d390dce155a10de4 (diff)
parent1a0220d9de1c49df729aaf26cc8d9bb3f3dd072c (diff)
downloadbrew-495419a4ee0456e592bd32906b2d4a4cfa9dbf99.tar.bz2
Merge pull request #889 from zmwangx/readme-quote-cmdsubst
README and ISSUE_TEMPLATE: quote $(brew --repo)
-rw-r--r--.github/ISSUE_TEMPLATE.md2
-rw-r--r--README.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index feca9d74e..8dbd77f34 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -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:
diff --git a/README.md b/README.md
index a0aad4aba..98733271b 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ Features, usage and installation instructions are [summarised on the homepage](h
## 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
```
## What Packages Are Available?