mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-23 06:10:32 +02:00
Merge pull request #518 from dpoggi/better-user-specified-definition-check
Fixes #517
This commit is contained in:
commit
ef2ff77dfa
1 changed files with 1 additions and 1 deletions
|
|
@ -912,7 +912,7 @@ done
|
|||
DEFINITION_PATH="${ARGUMENTS[0]}"
|
||||
if [ -z "$DEFINITION_PATH" ]; then
|
||||
usage
|
||||
elif [ ! -e "$DEFINITION_PATH" ]; then
|
||||
elif [ ! -f "$DEFINITION_PATH" ]; then
|
||||
BUILTIN_DEFINITION_PATH="${RUBY_BUILD_ROOT}/share/ruby-build/${DEFINITION_PATH}"
|
||||
if [ -e "$BUILTIN_DEFINITION_PATH" ]; then
|
||||
DEFINITION_PATH="$BUILTIN_DEFINITION_PATH"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue