mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 07:42:57 +00:00
seq(1) is not available on OpenBSD.
This commit is contained in:
parent
eee72eecdf
commit
9c1d677d23
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ if [ ! -w "$SHIM_PATH" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset acquired
|
unset acquired
|
||||||
for _ in $(seq "${PYENV_REHASH_TIMEOUT:-60}"); do
|
for (( i=1; i<="${PYENV_REHASH_TIMEOUT:-60}"; i++ )); do
|
||||||
if acquire_lock 2>/dev/null; then
|
if acquire_lock 2>/dev/null; then
|
||||||
acquired=1
|
acquired=1
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue