浏览代码

Merge pull request #1706 from keyvez/master

Fixes Issue#1705
Robby Russell 12 年之前
父节点
当前提交
459e7fffc4
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tools/upgrade.sh

+ 2 - 1
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"
+cd "$current_path"