From 6222bb743df06e433a2730b46ebe48f76562f012 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Tue, 1 Apr 2014 00:01:51 +0900 Subject: [PATCH] Just display warning if `.pydistutils.cfg` exists. --- plugins/python-build/bin/python-build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 11557a5a..a6353e32 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1467,8 +1467,9 @@ fi # pydistutils.cfg may corrupt install location of Python libraries (#35, #111) 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 - exit 1 + { colorize 1 "WARNING" + echo ": Please make sure you remove any previous custom paths from your $HOME/.pydistutils.cfg file." + } >&2 fi SEED="$(date "+%Y%m%d%H%M%S").$$"