소스 검색

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
No known key found for this signature in database 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

불러오는 중...
취소
저장