Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Add /usr/lib/rbenv/hooks to hook search path
Browse files Browse the repository at this point in the history
This will help with the packaging of rbenv plugin that contain hooks in
Debian.
  • Loading branch information
terceiro committed Jan 26, 2012
1 parent 9ea1f7d commit d1bfeee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/rbenv
Expand Up @@ -48,7 +48,7 @@ for plugin_bin in "${RBENV_ROOT}/plugins/"*/bin; do
done
export PATH="${bin_path}:${PATH}"

hook_path="${RBENV_HOOK_PATH}:${RBENV_ROOT}/rbenv.d:/usr/local/etc/rbenv.d:/etc/rbenv.d"
hook_path="${RBENV_HOOK_PATH}:${RBENV_ROOT}/rbenv.d:/usr/local/etc/rbenv.d:/etc/rbenv.d:/usr/lib/rbenv/hooks"
for plugin_hook in "${RBENV_ROOT}/plugins/"*/etc/rbenv.d; do
hook_path="${hook_path}:${plugin_hook}"
done
Expand Down

0 comments on commit d1bfeee

Please sign in to comment.