1 |
#! /usr/local/bin/bash |
#! /bin/bash |
|
# |
|
|
# Giuseppe Vacanti, January 2000 |
|
2 |
# |
# |
3 |
|
# $Id: acceptbuild,v 1.7 2014/12/02 15:55:21 ccflib Exp $ |
4 |
|
|
5 |
#notify () { |
#notify () { |
6 |
# if [ $# -ne 1 ] ; then |
# if [ $# -ne 1 ] ; then |
9 |
# fi |
# fi |
10 |
# ccfc=$1 |
# ccfc=$1 |
11 |
# /usr/lib/sendmail -t << EOF |
# /usr/lib/sendmail -t << EOF |
12 |
#From: ccflib@xmm.vilspa.esa.es |
#From: ccflib@xmm.esac.esa.int |
13 |
#To: xmm-it@xmm.vilspa.esa.es, sas-devel@xmm.vilspa.esa.es |
#To: xmm-it@xmm..esac.esa.int, sas-devel@xmm.esac.esa.int |
14 |
#Subject: New CCF constituent (development): $ccfc |
#Subject: New CCF constituent (development): $ccfc |
15 |
# |
# |
16 |
#EOF |
#EOF |
19 |
|
|
20 |
. $HOME/bin/ccflib.cfg |
. $HOME/bin/ccflib.cfg |
21 |
|
|
22 |
PATH=$HOME/bin:$PATH |
export PATH=${CCFLIB_HOME}/bin:$PATH |
|
export PATH |
|
23 |
|
|
24 |
me=`basename $0` |
me=`basename $0` |
25 |
##echo $me running on `date` |
##echo $me running on `date` |
26 |
|
|
27 |
|
|
28 |
builddir=$HOME/builds/tmp |
builddir=${CCFLIB_HOME}/builds/tmp |
29 |
cd $builddir || exit 1 |
cd $builddir || exit 1 |
30 |
|
|
31 |
flist=`find . -name '*.CCF'` |
flist=`find . -name '*.CCF'` |
59 |
fi |
fi |
60 |
done |
done |
61 |
|
|
62 |
if [ ! -z "$new" ] ; then |
# notify of the change in the development track |
63 |
ccfnotify -d $new |
###if [ ! -z "$new" ] ; then |
64 |
fi |
### ccfnotify -t development $new |
65 |
|
###fi |