Pārlūkot izejas kodu

use `typeset` instead of `local` in rbenv() function

This is to insure portability to ksh.

Fixes #205, references #209
pull/360/head^2
Mislav Marohnić pirms 11 gadiem
vecāks
revīzija
3060578e3b
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      libexec/rbenv-init

+ 2
- 1
libexec/rbenv-init Parādīt failu

@ -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

Notiek ielāde…
Atcelt
Saglabāt