From 6c6dd3b3b0fa10f97ac24ae9867bf7c20cf5eed9 Mon Sep 17 00:00:00 2001
From: Gunnar Wrobel
Date: Mon, 13 Sep 2010 00:47:35 +0200
Subject: [PATCH] Switch to using command line options rather than the php.ini.
Fix script name.
---
components/data/hudson-component-build.xml.template | 15 ++++++++-------
components/data/hudson-component-config.xml.template | 6 ++----
2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/components/data/hudson-component-build.xml.template b/components/data/hudson-component-build.xml.template
index 6e711f235..eda75e240 100644
--- a/components/data/hudson-component-build.xml.template
+++ b/components/data/hudson-component-build.xml.template
@@ -1,5 +1,6 @@
+
@@ -16,7 +17,7 @@
-
+
@@ -34,7 +35,7 @@
-
-
@@ -53,7 +54,7 @@
-
@@ -61,7 +62,7 @@
-
-
-
diff --git a/components/data/hudson-component-config.xml.template b/components/data/hudson-component-config.xml.template
index 5ab789d2a..98a062b0d 100644
--- a/components/data/hudson-component-config.xml.template
+++ b/components/data/hudson-component-config.xml.template
@@ -19,12 +19,10 @@
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 -d include_path=".:${WORKSPACE}/../../%3$s/php" ${WORKSPACE}/../../%3$s/horde-components --install=${WORKSPACE}/deps ${WORKSPACE}/../../%2$s/workspace/%1$s
+php -d include_path=".:${WORKSPACE}/../../%3$s/php" ${WORKSPACE}/../../%3$s/horde-components --ciprebuild=${WORKSPACE} ${WORKSPACE}/../../%2$s/workspace/%1$s
--
2.11.0