瀏覽代碼

seq(1) is not available on OpenBSD.

pull/1166/head
Tomoyuki Sahara 8 年之前
父節點
當前提交
9c1d677d23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      libexec/pyenv-rehash

+ 1
- 1
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

Loading…
取消
儲存