mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Move the nullglob declaration further up so a '*' shim isn't created when no Ruby versions are present. Fixes #45.
This commit is contained in:
parent
1411fa5a16
commit
113e037646
1 changed files with 1 additions and 1 deletions
|
@ -59,10 +59,10 @@ cd "$SHIM_PATH"
|
||||||
|
|
||||||
# Create the prototype shim, then make shims for all known binaries.
|
# Create the prototype shim, then make shims for all known binaries.
|
||||||
create_prototype_shim
|
create_prototype_shim
|
||||||
|
shopt -s nullglob
|
||||||
make_shims ../versions/*/bin/*
|
make_shims ../versions/*/bin/*
|
||||||
|
|
||||||
# Find and run any plugins that might want to make shims too.
|
# Find and run any plugins that might want to make shims too.
|
||||||
shopt -s nullglob
|
|
||||||
RBENV_REHASH_PLUGINS=(/etc/rbenv.d/rehash/*.bash ${HOME}/.rbenv/rbenv.d/rehash/*.bash)
|
RBENV_REHASH_PLUGINS=(/etc/rbenv.d/rehash/*.bash ${HOME}/.rbenv/rbenv.d/rehash/*.bash)
|
||||||
shopt -u nullglob
|
shopt -u nullglob
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue