mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
use typeset
instead of local
in rbenv() function
This is to insure portability to ksh. Fixes #205, references #209
This commit is contained in:
parent
7fe9231e64
commit
3060578e3b
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ commands=(`rbenv-commands --sh`)
|
|||
IFS="|"
|
||||
cat <<EOS
|
||||
rbenv() {
|
||||
local command="\$1"
|
||||
typeset command
|
||||
command="\$1"
|
||||
if [ "\$#" -gt 0 ]; then
|
||||
shift
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue