4 |
# + build latest files |
# + build latest files |
5 |
# + move new files to CCF repository |
# + move new files to CCF repository |
6 |
# |
# |
7 |
# $Id: autobuild,v 1.8 2015/02/02 14:46:25 ccflib Exp $ |
# $Id: autobuild,v 1.9 2018/01/15 09:57:35 ccflib Exp $ |
8 |
# |
# |
9 |
|
|
10 |
# Name and initialize $LOG file |
# Name and initialize $LOG file |
26 |
echo "CCF autobuild run at `date` on `hostname`" >> $HEAD_MESSAGE |
echo "CCF autobuild run at `date` on `hostname`" >> $HEAD_MESSAGE |
27 |
echo "-----------------------------------------------------------------------" >> $HEAD_MESSAGE |
echo "-----------------------------------------------------------------------" >> $HEAD_MESSAGE |
28 |
|
|
29 |
|
cat $HEAD_MESSAGE >> $MESSAGE |
30 |
|
|
31 |
me=`basename $0` |
me=`basename $0` |
32 |
|
|
97 |
|
|
98 |
nothingtobuild=`cat $LOG | grep -c "Nothing to build"` |
nothingtobuild=`cat $LOG | grep -c "Nothing to build"` |
99 |
|
|
100 |
cat $LOG $HEAD_MESSAGE > $MESSAGE |
cat $LOG >> $MESSAGE |
101 |
|
|
102 |
|
|
103 |
# Define mail subject |
# Define mail subject |