ソースを参照

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

seq(1) is not available on OpenBSD.
pull/1173/head
Yamashita, Yuu 8年前
committed by GitHub
コミット
cbf3983ac5
この署名に対応する既知のキーがデータベースに存在しません GPGキー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

読み込み中…
キャンセル
保存