Fix 'Bad substitution' error when upgrading

This commit is contained in:
Bob Maerten 2013-04-19 09:58:31 +02:00
commit fd1e0660b3

View file

@ -9,7 +9,7 @@ function _update_zsh_update() {
} }
function _upgrade_zsh() { function _upgrade_zsh() {
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh /usr/bin/env ZSH=$ZSH /bin/bash $ZSH/tools/upgrade.sh
# update the zsh file # update the zsh file
_update_zsh_update _update_zsh_update
} }