Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-06-06 06:40:22


Author: troy
Date: 2007-06-06 06:40:21 EDT (Wed, 06 Jun 2007)
New Revision: 4470
URL: http://svn.boost.org/trac/boost/changeset/4470

Log:
tweaks for fbsd

Text files modified:
   sandbox-branches/boost-cmake/unix_testing_node/nightly/nightly.sh | 19 ++++++++++---------
   1 files changed, 10 insertions(+), 9 deletions(-)

Modified: sandbox-branches/boost-cmake/unix_testing_node/nightly/nightly.sh
==============================================================================
--- sandbox-branches/boost-cmake/unix_testing_node/nightly/nightly.sh (original)
+++ sandbox-branches/boost-cmake/unix_testing_node/nightly/nightly.sh 2007-06-06 06:40:21 EDT (Wed, 06 Jun 2007)
@@ -1,23 +1,24 @@
 #!/bin/sh -x
 
-if [[ -z "$UPDATE_DONE" ]]
+topdir=`dirname $0`
+bin=`basename $0`
+cd $topdir
+topdir=`pwd`
+
+if [ -z "$UPDATE_DONE" ]
 then
- svn update $0
- UPDATE_DONE=YES $0 $*
- exit
+ export UPDATE_DONE=YES
+ svn update $bin
+ exec $0 $*
 fi
 
 COMPILER=$1
-if [[ -z "$COMPILER" ]]
+if [ -z "$COMPILER" ]
 then
     echo "Setting compiler to default of g++"
     COMPILER=g++
 fi
 
-topdir=`dirname $0`
-cd $topdir
-topdir=`pwd`
-
 cd $topdir/debug
 CXX="$COMPILER" ctest -S nightly.cmake -V
 cd $topdir/release


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk