/[CCFs]/bin/acceptbuild
ViewVC logotype

Annotation of /bin/acceptbuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Tue Feb 19 13:57:04 2002 UTC (22 years, 9 months ago) by ccflib
Branch: MAIN
Changes since 1.1: +3 -2 lines
*** empty log message ***

1 ccflib 1.1 #! /usr/local/bin/bash
2     #
3     # Giuseppe Vacanti, January 2000
4     #
5    
6     . $HOME/bin/ccflib.cfg
7    
8     PATH=$HOME/bin:$PATH
9     export PATH
10    
11     me=`basename $0`
12     ##echo $me running on `date`
13    
14    
15     builddir=$HOME/builds/tmp
16     cd $builddir || exit 1
17    
18     flist=`find . -name '*.CCF'`
19    
20     if [ -z "$flist" ] ; then
21     ## echo No new CCF file found.
22     exit 0
23     fi
24    
25     saslatest
26    
27     for f in $flist ; do
28     b=`basename $f`
29     echo -n Considering $b ...
30 ccflib 1.2 if [ -e $ccfdir/$b -o -e $ccfrel/$b -o -e $scisimdir/$b ] ; then
31 ccflib 1.1 echo " it already exists. REJECTED."
32     else
33     if [ -e $ccfdeveldir/$b ] ; then
34     echo " it already exists in the development area and it will be overwritten."
35     fi
36     ccfextseq --sets=$f
37     if [ $? -ne 0 ] ; then
38     echo " validation stage failed. REJECTED."
39     else
40 ccflib 1.2 cp $f $ccfdeveldir || exit 1
41 ccflib 1.1 echo " accepted into $ccfdeveldir."
42 ccflib 1.2
43 ccflib 1.1 fi
44     fi
45     done

  ViewVC Help
Powered by ViewVC 1.1.27