mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-11-23 20:30:53 +01:00
Allow hooks to be defined for rbenv-install
This commit is contained in:
parent
172b0680da
commit
cb2a79f111
1 changed files with 4 additions and 0 deletions
|
|
@ -61,6 +61,10 @@ done
|
|||
DEFINITION="${ARGUMENTS[0]}"
|
||||
[ -n "$DEFINITION" ] || usage 1
|
||||
|
||||
for script in $(rbenv-hooks install); do
|
||||
source "$script"
|
||||
done
|
||||
|
||||
VERSION_NAME="${DEFINITION##*/}"
|
||||
PREFIX="${RBENV_ROOT}/versions/${VERSION_NAME}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue