Skip to content

Commit ad69426

Browse files
authored
1 parent fa830be commit ad69426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyenv-users

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cmd="readlink -f '{}' | grep -q ${PYENV_ROOT}"
2222
unset links i
2323
while IFS= read -r -d $'\0' file; do
2424
links[i++]="$file"
25-
done < <(find "$DIR" -name "python" -type l -exec sh -c "$cmd" \; -print0)
25+
done < <(find -H "$DIR" -name "python" -type l -exec sh -c "$cmd" \; -print0)
2626

2727
# Exit if no relevant venvs were found
2828
if [[ $i -eq 0 ]]; then

0 commit comments

Comments
 (0)