Renamed variable; s/PYENV_REHASH_LOCK_TIMEOUT/PYENV_REHASH_TIMEOUT/
This commit is contained in:
parent
a6c15fb242
commit
b1e3f13a85
@ -35,7 +35,7 @@ release_lock() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unset acquired
|
unset acquired
|
||||||
for _ in $(seq "${PYENV_REHASH_LOCK_TIMEOUT:-60}"); do
|
for _ in $(seq "${PYENV_REHASH_TIMEOUT:-60}"); do
|
||||||
if acquire_lock 2>/dev/null; then
|
if acquire_lock 2>/dev/null; then
|
||||||
acquired=1
|
acquired=1
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user