/[CCFs]/bin/acceptbuild
ViewVC logotype

Diff of /bin/acceptbuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by ccflib, Tue Feb 19 13:57:04 2002 UTC revision 1.6 by ccflib, Mon Jan 10 13:17:31 2011 UTC
# Line 1  Line 1 
1  #! /usr/local/bin/bash  #! /usr/local/bin/bash
2  #  #
3  # Giuseppe Vacanti, January 2000  # Giuseppe Vacanti, January 2000
4    # Eduardo Ojero Pascual, January 2011
5  #  #
6    # $Id: acceptbuild,v 1.5 2003/11/26 10:51:25 ccflib Exp $
7    
8    #notify () {
9    #  if [ $# -ne 1 ] ; then
10    #    echo notify error
11    #    exit 1
12    #  fi
13    #  ccfc=$1
14    #  /usr/lib/sendmail -t << EOF
15    #From: ccflib@xmm.esac.esa.int
16    #To: xmm-it@xmm..esac.esa.int, sas-devel@xmm.esac.esa.int
17    #Subject: New CCF constituent (development): $ccfc
18    #
19    #EOF
20    #}
21    
22    
23  . $HOME/bin/ccflib.cfg  . $HOME/bin/ccflib.cfg
24    
# Line 24  fi Line 41  fi
41    
42  saslatest  saslatest
43    
44    new=
45    
46  for f in $flist ; do  for f in $flist ; do
47    b=`basename $f`    b=`basename $f`
48    echo -n Considering $b ...    echo Considering $b ...
49    if [ -e $ccfdir/$b -o -e $ccfrel/$b -o -e $scisimdir/$b ] ; then    if [ -e $ccfdir/$b -o -e $ccfrel/$b -o -e $scisimdir/$b ] ; then
50      echo "    it already exists. REJECTED."      echo "    it already exists. REJECTED."
51    else    else
# Line 39  for f in $flist ; do Line 58  for f in $flist ; do
58      else      else
59        cp $f $ccfdeveldir || exit 1        cp $f $ccfdeveldir || exit 1
60        echo "    accepted into $ccfdeveldir."        echo "    accepted into $ccfdeveldir."
61                new="$new $b"
62      fi      fi
63    fi    fi
64  done      done    
65    
66    # notify of the change in the development track
67    ###if [ ! -z "$new" ] ; then
68    ###  ccfnotify -t development $new
69    ###fi  

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.27