diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index feca9d74ecb17b3ce39a34ebe1b4cf2f0328c67f..8dbd77f347ec773c6c2ced649d1c58f925027c0f 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 a0aad4abaa9b88344354b4f8038d0b98473b95c9..98733271b61617a00f7f37b697f3dff9af5bdda4 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?