Just display warning if .pydistutils.cfg exists.

This commit is contained in:
Yamashita Yuu 2014-04-01 00:01:51 +09:00
parent bce58e9d9a
commit 6222bb743d

View file

@ -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").$$"