mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
Fix logic
This commit is contained in:
parent
cb27b408dd
commit
6711ed93da
|
|
@ -601,9 +601,9 @@ else
|
|||
fi
|
||||
|
||||
(
|
||||
shopt -o nullglob
|
||||
for extra_binary in "$PREFIX"/bin/python-config*; do
|
||||
extra_binary_linkname="$VIRTUALENV_PREFIX/bin/$(basename $extra_binary)"
|
||||
shopt -s nullglob
|
||||
for extra_binary in "$PREFIX"/bin/python*-config; do
|
||||
extra_binary_linkname="$VIRTUALENV_PATH/bin/$(basename $extra_binary)"
|
||||
[[ -e "$extra_binary_linkname" ]] || \
|
||||
ln -s "$extra_binary" "$extra_binary_linkname"
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue