aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhiming Wang2016-09-07 11:21:41 -0400
committerZhiming Wang2016-09-07 11:21:41 -0400
commit1a0220d9de1c49df729aaf26cc8d9bb3f3dd072c (patch)
tree847cda45eeea92e0ea8d9f1a38014c0c68043886
parent9586390418dbcb8655bf7c62bb315c2a2090722e (diff)
downloadbrew-1a0220d9de1c49df729aaf26cc8d9bb3f3dd072c.tar.bz2
README and ISSUE_TEMPLATE: quote $(brew --repo)
Always a good idea to quote command substitution.
-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?