|
@@ -254,6 +254,15 @@ checkTests () {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+cleanUpXml () {
|
|
|
+ cd $BASEDIR/conf
|
|
|
+ for file in `ls *.xml.template`
|
|
|
+ do
|
|
|
+ rm -f `basename $file .template`
|
|
|
+ done
|
|
|
+ cd $BASEDIR
|
|
|
+}
|
|
|
+
|
|
|
###############################################################################
|
|
|
### Attempt to apply the patch
|
|
|
applyPatch () {
|
|
@@ -682,6 +691,9 @@ checkAuthor
|
|
|
RESULT=$?
|
|
|
|
|
|
checkTests
|
|
|
+if [[ $HUDSON == "true" ]] ; then
|
|
|
+ cleanUpXml
|
|
|
+fi
|
|
|
(( RESULT = RESULT + $? ))
|
|
|
applyPatch
|
|
|
if [[ $? != 0 ]] ; then
|