Author: jfrederic.clere(a)jboss.com
Date: 2011-11-29 03:58:23 -0500 (Tue, 29 Nov 2011)
New Revision: 2860
Modified:
trunk/build/unix/buildtest.mod_cluster.sh
Log:
Arrange BASELOC logic.
Modified: trunk/build/unix/buildtest.mod_cluster.sh
===================================================================
--- trunk/build/unix/buildtest.mod_cluster.sh 2011-11-28 16:33:00 UTC (rev 2859)
+++ trunk/build/unix/buildtest.mod_cluster.sh 2011-11-29 08:58:23 UTC (rev 2860)
@@ -59,15 +59,14 @@
esac
# find the base
-(cd $anttestsdir
- if [ "${BUILD_SYS}" = "windows" ]; then
- BASELOC=`ant base | grep echo | sed 's:\[echo\]::' | sed 's:^ *::'`
- else
- BASELOC=`ant base | grep echo | sed 's:\[echo\]::' | sed 's:^ *::' |
sed 's: :/:g'`
- # it may not work on some machine but that could help.
- ulimit -c unlimited
- fi
-)
+if [ "${BUILD_SYS}" = "windows" ]; then
+ BASELOC=`(cd $anttestsdir; ant base | grep echo | sed 's:\[echo\]::' | sed
's:^ *::')`
+else
+ BASELOC=`(cd $anttestsdir; ant base | grep echo | sed 's:\[echo\]::' | sed
's:^ *::' | sed 's: :/:g')`
+ # it may not work on some machine but that could help.
+ ulimit -c unlimited
+fi
+export BASELOC
# Do the right build depending on the version....
case ${build_version} in
Show replies by date