From b4e9ecc03f24fd54effd6cc6d8631c3210b505cf Mon Sep 17 00:00:00 2001
From: Gunnar Wrobel
Date: Sun, 3 Oct 2010 19:39:06 +0200
Subject: [PATCH] Rsync when extracting a package from the framework. Use
nocolor on build output.
---
components/data/hudson-component-config.xml.template | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/components/data/hudson-component-config.xml.template b/components/data/hudson-component-config.xml.template
index 98a062b0d..092cbaf59 100644
--- a/components/data/hudson-component-config.xml.template
+++ b/components/data/hudson-component-config.xml.template
@@ -18,10 +18,9 @@
false
- cp -r ${WORKSPACE}/../../%2$s/workspace/%1$s/* ${WORKSPACE}/
-rm -rf ${WORKSPACE}/deps
+ rsync -avz ${WORKSPACE}/../../%2$s/workspace/%1$s/* ${WORKSPACE}/ --exclude="build.xml" --delete-after
mkdir ${WORKSPACE}/deps
-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 --install=${WORKSPACE}/deps -N ${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