Renamed variable; s/PYENV_REHASH_LOCK_TIMEOUT/PYENV_REHASH_TIMEOUT/

This commit is contained in:
Yamashita, Yuu 2018-04-24 00:35:55 +00:00
parent a6c15fb242
commit b1e3f13a85

View file

@ -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