summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-04-11 14:57:06 -0700
committerRobby Russell <robby@planetargon.com>2013-04-11 14:57:06 -0700
commit459e7fffc43388aff4623cd8401d0ac8f2a90d2b (patch)
tree76216cc003ff63fe38f5a552f5c9a06a4a02a15a
parent2a0c1d7b9290dfd646b8d246eed543cd13f65ece (diff)
parent32a42f27b62b62bd915ab632b0b36fa939d22c0e (diff)
downloadzsh-459e7fffc43388aff4623cd8401d0ac8f2a90d2b.tar.gz
zsh-459e7fffc43388aff4623cd8401d0ac8f2a90d2b.tar.bz2
zsh-459e7fffc43388aff4623cd8401d0ac8f2a90d2b.zip
Merge pull request #1706 from keyvez/master
Fixes Issue#1705
-rw-r--r--tools/upgrade.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/upgrade.sh b/tools/upgrade.sh
index b2a1c06c4..cd689ba1f 100644
--- a/tools/upgrade.sh
+++ b/tools/upgrade.sh
@@ -1,4 +1,5 @@
current_path=`pwd`
+current_path=${current_path/ /\\ }
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
cd $ZSH
@@ -16,4 +17,4 @@ else
printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?'
fi
-cd "$current_path" \ No newline at end of file
+cd "$current_path"