Author: jfrederic.clere(a)jboss.com
Date: 2009-07-07 07:59:36 -0400 (Tue, 07 Jul 2009)
New Revision: 2467
Modified:
trunk/build/unix/buildtest.mod_cluster.sh
Log:
Prevent spaces in base.apache (for example Mac OS X-10.5.7-i386!).
Modified: trunk/build/unix/buildtest.mod_cluster.sh
===================================================================
--- trunk/build/unix/buildtest.mod_cluster.sh 2009-06-08 14:50:02 UTC (rev 2466)
+++ trunk/build/unix/buildtest.mod_cluster.sh 2009-07-07 11:59:36 UTC (rev 2467)
@@ -56,7 +56,13 @@
mod_cluster_jar=../../target/mod-cluster-${mod_cluster_jar}.jar
echo "Running ant -DBUILDTEST=Y -Dbuild_version=${build_version} -Droot=$root
-Dmod_cluster.jar=${mod_cluster_jar}"
(cd $anttestsdir
- ant -DBUILDTEST=Y -Dbuild_version=${build_version} -Droot=$root
-Dmod_cluster.jar=${mod_cluster_jar}
+ BASELOC=`ant base | grep echo | sed 's:\[echo\]::' | sed 's:^ *::'`
+ BASELOCNOSPACES=`ant base | grep echo | sed 's:\[echo\]::' | sed 's:^
*::' | sed 's:' ':/:g'`
+ if [ "x${BASELOC}" != "x${BASELOCNOSPACES}" ]
+ then
+ BASELOC=${BASELOCNOSPACES}
+ fi
+ ant -DBUILDTEST=Y -Dbuild_version=${build_version} -Droot=$root
-Dmod_cluster.jar=${mod_cluster_jar} -Dbase.apache=${BASELOC}
) || exit 1
echo ""
Show replies by date