ソースを参照

Fix occasional 'libexec/pyenv-latest: line 39: printf: write error: Broken pipe' (#2729)

pull/2730/head
native-api 1年前
committed by GitHub
コミット
fe76b05445
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      libexec/pyenv-latest

+ 1
- 1
libexec/pyenv-latest ファイルの表示

@ -36,7 +36,7 @@ IFS=$'\n'
DEFINITION_CANDIDATES=( $(python-build --definitions ) )
fi
if printf '%s\n' "${DEFINITION_CANDIDATES[@]}" | grep -qxFe "$prefix"; then
if printf '%s\n' "${DEFINITION_CANDIDATES[@]}" 2>/dev/null | grep -qxFe "$prefix"; then
echo "$prefix"
exit $exitcode;
fi

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