src/utils/qa/weeklybld/coBranch.csh 1.6

1.6 2009/07/17 23:26:47 galt
handle sandbox configuration
Index: src/utils/qa/weeklybld/coBranch.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/weeklybld/coBranch.csh,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 1000000 -r1.5 -r1.6
--- src/utils/qa/weeklybld/coBranch.csh	7 Apr 2009 18:35:33 -0000	1.5
+++ src/utils/qa/weeklybld/coBranch.csh	17 Jul 2009 23:26:47 -0000	1.6
@@ -1,41 +1,46 @@
 #!/bin/tcsh
 
 if (( "$HOST" != "hgwbeta" ) && ( "$HOST" != "$BOX32" )) then
  echo "Error: this script must be run from hgwbeta or $BOX32. [${0}: `date`]"
  exit 1
 endif
 
 cd $WEEKLYBLD
 
 echo "BRANCHNN=$BRANCHNN"
 if ( "$BRANCHNN" == "" ) then
  echo "BRANCHNN undefined."
  exit 1
 endif
 
 echo
 echo "now unpacking new branch $BRANCHNN on `uname -n` [${0}: `date`]"
 
 #unpack the new branch on BUILDDIR for beta
 # for later: is this faster to co on kkstore or not?
 cd $BUILDDIR
 set dir = "v"$BRANCHNN"_branch" 
 if ( -d $dir ) then
  echo "removing old branch dir. [${0}: `date`]"
  rm -fr $dir 
 endif
 mkdir -p $dir
 cd $dir
 echo "Checking out branch $BRANCHNN. [${0}: `date`]"
 cvs -d hgwdev:$CVSROOT co -r "v"$BRANCHNN"_branch"  kent >& /dev/null
 set err = $status
 if ( $err ) then
  echo "error running cvs co kent in $BUILDDIR/$dir : $err [${0}: `date`]" 
  exit 1
 endif 
-sed -i -e 's/USE_SSL=0/USE_SSL=1/' kent/src/inc/common.mk
+
+
+# configure settings like SSL and BAM in common.mk
+echo "Configuring settings on branch $BRANCHNN in $BUILDDIR/$dir [${0}: `date`]" 
+$WEEKLYBLD/configureSandbox.csh . $WEEKLYBLD/defaultBuildSettings.mk
+
 echo "Done checking out branch $BRANCHNN in $BUILDDIR/$dir [${0}: `date`]" 
 echo "Now you should go and do build on beta! [${0}: `date`]"
 
 exit 0