ソースを参照
Fix occasional 'libexec/pyenv-latest: line 39: printf: write error: Broken pipe' (#2729)
pull/2730/head
native-api
1年前
committed by
GitHub
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
-
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 |
|
|
|