fixed bash calls with absolute path

This commit is contained in:
Rémi Paulmier 2013-07-18 14:57:54 +02:00
commit 9f3d85de42
2 changed files with 3 additions and 3 deletions

View file

@ -3,11 +3,11 @@ function zsh_stats() {
} }
function uninstall_oh_my_zsh() { function uninstall_oh_my_zsh() {
/usr/bin/env ZSH=$ZSH bash $ZSH/tools/uninstall.sh /usr/bin/env ZSH=$ZSH /bin/bash $ZSH/tools/uninstall.sh
} }
function upgrade_oh_my_zsh() { function upgrade_oh_my_zsh() {
/usr/bin/env ZSH=$ZSH bash $ZSH/tools/upgrade.sh /usr/bin/env ZSH=$ZSH /bin/bash $ZSH/tools/upgrade.sh
} }
function take() { function take() {

View file

@ -9,7 +9,7 @@ function _update_zsh_update() {
} }
function _upgrade_zsh() { function _upgrade_zsh() {
/usr/bin/env ZSH=$ZSH bash $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
} }