Ignore:
Timestamp:
Apr 5, 2016, 1:32:58 PM (4 years ago)
Author:
mojca@…
Message:

rbenv: upgrade to v1.0.0, take over maintenance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/ruby/rbenv/files/patch-libexec-rbenv-init.diff

    r140661 r147483  
    66--- libexec/rbenv-init.orig
    77+++ libexec/rbenv-init
    8 @@ -76,8 +76,11 @@ mkdir -p "${RBENV_ROOT}/"{shims,versions}
    9  echo 'export PATH="'${RBENV_ROOT}'/shims:${PATH}"'
     8@@ -95,13 +95,15 @@ fish )
     9 ;;
     10 esac
    1011 
    11  case "$shell" in
    12 -bash | zsh )
    13 -  echo "source \"$root/completions/rbenv.${shell}\""
     12-completion="${root}/completions/rbenv.${shell}"
     13-if [ -r "$completion" ]; then
     14-  case "$shell" in
     15-  fish ) echo ". '$completion'" ;;
     16-  *    ) echo "source '$completion'" ;;
     17-  esac
     18-fi
     19+case "$shell" in
    1420+bash )
    1521+  echo "source \"$root/etc/bash_completion.d/rbenv\""
     
    1723+zsh )
    1824+  echo "source \"$root/share/zsh/site-functions/rbenv.zsh_completion\""
    19    ;;
    20  esac
     25+  ;;
     26+# support for fish and other shells missing
     27+esac
    2128 
     29 if [ -z "$no_rehash" ]; then
     30   echo 'command rbenv rehash 2>/dev/null'
Note: See TracChangeset for help on using the changeset viewer.