fix shell when bash is needed instead of sh

This commit is contained in:
Rémi Paulmier 2013-07-04 11:21:55 +02:00
commit d8f6784473
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
function _current_epoch() {
echo $(($(date +%s) / 60 / 60 / 24))
@ -9,7 +9,7 @@ function _update_zsh_update() {
}
function _upgrade_zsh() {
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
/usr/bin/env ZSH=$ZSH bash $ZSH/tools/upgrade.sh
# update the zsh file
_update_zsh_update
}