diff options
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep')
-rw-r--r-- | encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep b/encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep index 61fa558ba..f70197c47 100644 --- a/encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep +++ b/encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep @@ -70,7 +70,14 @@ url="http://encapsrcdist/mirror/pyrex/Pyrex-0.9.5.1a.tar.gz </build> <install> -/usr/local/lib/bcfg2/bin/python setup.py install \ +test -d ${ENCAP_SOURCE} || mkdir ${ENCAP_SOURCE} +test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME} || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME} +test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib +test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 +test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib +test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4 +test -d ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages || mkdir ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages +PYTHONPATH="${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2/lib/python2.4/site-packages" /usr/local/lib/bcfg2/bin/python setup.py install \ --prefix=${ENCAP_SOURCE}/${ENCAP_PKGNAME}/lib/bcfg2 </install> |