From 6426b4fa4c40eb8d44b7c0834c2c19a923f90a5e Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 29 Jun 2011 04:02:16 +0000 Subject: [PATCH] setuptools: Install correctly if DESTDIR isn't set. Fixes #535 --- dev-python/setuptools/setuptools-0.6.bep | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-python/setuptools/setuptools-0.6.bep b/dev-python/setuptools/setuptools-0.6.bep index e3d1d594e..6c6708db4 100644 --- a/dev-python/setuptools/setuptools-0.6.bep +++ b/dev-python/setuptools/setuptools-0.6.bep @@ -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"