Replace /usr/bin/env with env

Some environments (such as Android) does not have /usr/bin.
This commit is contained in:
Fredrik Fornwall 2014-08-20 23:52:05 +02:00 committed by Benjamin Bach
commit 0abd191230
4 changed files with 7 additions and 7 deletions

View file

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