diff options
author | Tim Taylor <tim@tool-man.org> | 2011-08-17 00:17:21 -0400 |
---|---|---|
committer | Tim Taylor <tim@tool-man.org> | 2011-08-17 00:36:27 -0400 |
commit | c113e88c454cf759078f06c95f4b35db90acb9d7 (patch) | |
tree | cc77e101306e0bde1fef88172bddc1e2400317ca /tools | |
parent | 9f46eafae0bed7df50a0004fca5d25539425ff85 (diff) | |
download | zsh-c113e88c454cf759078f06c95f4b35db90acb9d7.tar.gz zsh-c113e88c454cf759078f06c95f4b35db90acb9d7.tar.bz2 zsh-c113e88c454cf759078f06c95f4b35db90acb9d7.zip |
Fix auto upgrade failure from non-exported ZSH env var
Fixes #549. Specify ZSH=$ZSH explicitly when invoking
the auto update scripts.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/check_for_upgrade.sh | 2 |
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 |