From 9c1d677d231b478b6556ac335e48adf7a92ef0b5 Mon Sep 17 00:00:00 2001 From: Tomoyuki Sahara Date: Fri, 1 Jun 2018 15:11:01 +0900 Subject: [PATCH] seq(1) is not available on OpenBSD. --- libexec/pyenv-rehash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/pyenv-rehash b/libexec/pyenv-rehash index 2b2b8248..5c421c41 100755 --- a/libexec/pyenv-rehash +++ b/libexec/pyenv-rehash @@ -40,7 +40,7 @@ if [ ! -w "$SHIM_PATH" ]; then fi 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 acquired=1 break