Escape /Users/desudhak/.oh-my-zsh path (previously broke spaces in path)

This commit is contained in:
Deepu Sudhakar 2013-03-10 14:36:39 -05:00
parent 0ab0e67ecf
commit 9991401aaa

View file

@ -1,6 +1,6 @@
current_path=`pwd`
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
cd $ZSH
cd "$ZSH"
if git pull origin master
then
@ -16,4 +16,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"