1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-11 13:03:46 -05:00

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

This commit is contained in:
native-api
2023-06-20 03:04:06 +03:00
committed by GitHub
parent c5d2639082
commit fe76b05445

View File

@@ -36,7 +36,7 @@ IFS=$'\n'
DEFINITION_CANDIDATES=( $(python-build --definitions ) ) DEFINITION_CANDIDATES=( $(python-build --definitions ) )
fi 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" echo "$prefix"
exit $exitcode; exit $exitcode;
fi fi