summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-10-10 05:40:38 -0700
committerRobby Russell <robby@planetargon.com>2011-10-10 05:40:38 -0700
commit0fe2462af8ba0b1fc080e9eea6bac583db4b3b48 (patch)
tree82125c314428a450b380223c5742dd8cb3c3d0c5 /tools
parent167f84dacd57bcb287d68df75c24163d24859253 (diff)
parentc113e88c454cf759078f06c95f4b35db90acb9d7 (diff)
downloadzsh-0fe2462af8ba0b1fc080e9eea6bac583db4b3b48.tar.gz
zsh-0fe2462af8ba0b1fc080e9eea6bac583db4b3b48.tar.bz2
zsh-0fe2462af8ba0b1fc080e9eea6bac583db4b3b48.zip
Merge pull request #554 from toolbear/549-fix-auto-upgrade
Fix auto upgrade failure from non-exported ZSH env var
Diffstat (limited to 'tools')
-rw-r--r--tools/check_for_upgrade.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
index e1e4eb99f..aeaa0e415 100644
--- a/tools/check_for_upgrade.sh
+++ b/tools/check_for_upgrade.sh
@@ -24,7 +24,7 @@ then
read line
if [ "$line" = Y ] || [ "$line" = y ]
then
- /bin/sh $ZSH/tools/upgrade.sh
+ /usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
# update the zsh file
_update_zsh_update
fi