mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Just display warning if .pydistutils.cfg
exists.
This commit is contained in:
parent
bce58e9d9a
commit
6222bb743d
1 changed files with 3 additions and 2 deletions
|
@ -1467,8 +1467,9 @@ fi
|
||||||
|
|
||||||
# pydistutils.cfg may corrupt install location of Python libraries (#35, #111)
|
# pydistutils.cfg may corrupt install location of Python libraries (#35, #111)
|
||||||
if [ -e "$HOME/.pydistutils.cfg" ]; then
|
if [ -e "$HOME/.pydistutils.cfg" ]; then
|
||||||
echo "python-build: Please make sure you remove any previous custom paths from your $HOME/.pydistutils.cfg file." >&2
|
{ colorize 1 "WARNING"
|
||||||
exit 1
|
echo ": Please make sure you remove any previous custom paths from your $HOME/.pydistutils.cfg file."
|
||||||
|
} >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SEED="$(date "+%Y%m%d%H%M%S").$$"
|
SEED="$(date "+%Y%m%d%H%M%S").$$"
|
||||||
|
|
Loading…
Reference in a new issue