We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad69426 commit 552d881Copy full SHA for 552d881
pyenv-users
@@ -44,7 +44,7 @@ for link in "${links[@]}"; do
44
# `$link` is the `python` symlink, and `$target` is its target.
45
target=$(readlink -f "$link")
46
# Ignore symlinks inside $PYENV_ROOT itself
47
- if echo "$link" | grep -v -q "$PYENV_ROOT"; then
+ if realpath -s "$link" | grep -v -q "$PYENV_ROOT"; then
48
[[ "$target" =~ $regex ]]
49
version="${BASH_REMATCH[1]}"
50
echo "$version":"${link%/bin/python}"
0 commit comments