| 23 |
fi |
fi |
| 24 |
|
|
| 25 |
#-- update tools/mpack-1.6 dir: |
#-- update tools/mpack-1.6 dir: |
| 26 |
if test -d tools_mpack ; then |
# if test -d tools_mpack ; then |
| 27 |
echo -n 'Update dir: ' |
# echo -n 'Update dir: ' |
| 28 |
tmpFil=/tmp/TTT.daily_snapshot.$$ |
# tmpFil=/tmp/TTT.daily_snapshot.$$ |
| 29 |
exe=munpack |
# exe=munpack |
| 30 |
( cd tools_mpack ; pwd |
# ( cd tools_mpack ; pwd |
| 31 |
chg=`cvs -q update -P -d | tee $tmpFil | sed '/^?/d' | wc -l` |
# chg=`cvs -q update -P -d | tee $tmpFil | sed '/^?/d' | wc -l` |
| 32 |
#echo "chg ='$chg'" |
# #echo "chg ='$chg'" |
| 33 |
cat $tmpFil ; rm -f $tmpFil |
# cat $tmpFil ; rm -f $tmpFil |
| 34 |
if test "x$chg" != x0 ; then |
# if test "x$chg" != x0 ; then |
| 35 |
if test -f $exe ; then echo " removing: $exe force re-build." ; fi |
# if test -f $exe ; then echo " removing: $exe force re-build." ; fi |
| 36 |
rm -f $exe |
# rm -f $exe |
| 37 |
fi |
# fi |
| 38 |
) |
# ) |
| 39 |
fi |
# fi |
| 40 |
|
|
| 41 |
#- update front-page building dir: |
#- update front-page building dir: |
| 42 |
if test -d front_content ; then |
if test -d front_content ; then |