瀏覽代碼

Merge pull request #1166 from tsahara/openbsd-does-not-have-seq

seq(1) is not available on OpenBSD.
pull/1173/head
Yamashita, Yuu 6 年之前
committed by GitHub
父節點
當前提交
cbf3983ac5
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 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…
取消
儲存