From 93a5bec1827ff8a90bd7e8e5bfd2f654281871be Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Wed, 25 Aug 2010 13:04:07 +0200 Subject: [PATCH] Do not include stuff from the dependency location while we are actually installing the dependencies. --- framework/Element/data/hudson-element-config.xml.template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/framework/Element/data/hudson-element-config.xml.template b/framework/Element/data/hudson-element-config.xml.template index 68a62d6dc..5ab789d2a 100644 --- a/framework/Element/data/hudson-element-config.xml.template +++ b/framework/Element/data/hudson-element-config.xml.template @@ -19,9 +19,13 @@ cp -r ${WORKSPACE}/../../%2$s/workspace/%1$s/* ${WORKSPACE}/ +echo "include_path = \".:${WORKSPACE}/../../%3$s/php\"" > ${WORKSPACE}/php.ini +rm -rf ${WORKSPACE}/deps +mkdir ${WORKSPACE}/deps +php -c php.ini ${WORKSPACE}/../../%3$s/horde-element --install=${WORKSPACE}/deps ${WORKSPACE}/../../%2$s/workspace/%1$s +php -c php.ini ${WORKSPACE}/../../%3$s/horde-element --ciprebuild=${WORKSPACE} ${WORKSPACE}/../../%2$s/workspace/%1$s echo "include_path = \".:${WORKSPACE}/lib:${WORKSPACE}/deps/pear/php:${WORKSPACE}/../../%3$s/php\"" > ${WORKSPACE}/php.ini -php -c php.ini ../../%3$s/horde-element --install=${WORKSPACE}/deps ../../%2$s/workspace/%1$s -php -c php.ini ../../%3$s/horde-element --ciprebuild=${WORKSPACE} ../../%2$s/workspace/%1$s + -- 2.11.0