diff options
author | Fredrik Fornwall <fredrik@fornwall.net> | 2016-08-09 02:39:11 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2016-08-09 02:39:11 +0200 |
commit | 9772f8e10d07ce982a45fcce9b074e9084ad76cb (patch) | |
tree | 431d295b47a42a328f5edcb844852b3a96f7c4f6 /lib/functions.zsh | |
parent | a7de0fabd7ebbf1776942a8c7fde8ee33ed681b0 (diff) | |
download | zsh-9772f8e10d07ce982a45fcce9b074e9084ad76cb.tar.gz zsh-9772f8e10d07ce982a45fcce9b074e9084ad76cb.tar.bz2 zsh-9772f8e10d07ce982a45fcce9b074e9084ad76cb.zip |
Replace /bin/sh with sh for portability (#5291)
This makes things work even on system lacking /bin/sh, such as on
non-rooted Android systems.
Diffstat (limited to 'lib/functions.zsh')
-rw-r--r-- | lib/functions.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh index f9d4a9717..9f11318d2 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -3,11 +3,11 @@ function zsh_stats() { } function uninstall_oh_my_zsh() { - env ZSH=$ZSH /bin/sh $ZSH/tools/uninstall.sh + env ZSH=$ZSH sh $ZSH/tools/uninstall.sh } function upgrade_oh_my_zsh() { - env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh + env ZSH=$ZSH sh $ZSH/tools/upgrade.sh } function take() { |