setuptools: Install correctly if DESTDIR isn't set.

Fixes #535
This commit is contained in:
Chris Roberts
2011-06-29 04:02:16 +00:00
parent 80cd9e95c2
commit 6426b4fa4c

View File

@@ -13,8 +13,11 @@ BUILD {
INSTALL {
cd setuptools-0.6c11
python setup.py install --root=${DESTDIR}
if [ -n "${DESTDIR}" ];then
python setup.py install --root=${DESTDIR}
else
python setup.py install
fi
}
LICENSE="Python"