| 13 |
echo -n 'Update dir:' |
echo -n 'Update dir:' |
| 14 |
cd /u/u2/jmc/testing/scripts && pwd && cvs -q update -P -d |
cd /u/u2/jmc/testing/scripts && pwd && cvs -q update -P -d |
| 15 |
|
|
|
|
|
| 16 |
#-- update tools/mpack-1.6 dir : |
#-- update tools/mpack-1.6 dir : |
| 17 |
tmpFil=/tmp/TTT.daily_snapshot.$$ |
tmpFil=/tmp/TTT.daily_snapshot.$$ |
| 18 |
exe=munpack |
exe=munpack |
| 30 |
echo -n 'Update dir:' |
echo -n 'Update dir:' |
| 31 |
cd /u/u2/jmc/testing/front_content && pwd && cvs -q update -P -d |
cd /u/u2/jmc/testing/front_content && pwd && cvs -q update -P -d |
| 32 |
|
|
| 33 |
|
#-- clean-up old log files: |
| 34 |
|
cd /u/u2/jmc/testing/logs |
| 35 |
|
n=$(( `ls bld_manual.* | wc -l` - 10 )) |
| 36 |
|
if test $n -gt 0 ; then |
| 37 |
|
echo -n ' remove files: ' |
| 38 |
|
ls -lt bld_manual.* | tail -"$n" |
| 39 |
|
ls -t bld_manual.* | tail -"$n" | xargs rm -f |
| 40 |
|
fi |
| 41 |
|
|
| 42 |
|
|
| 43 |
umask 0002 |
umask 0002 |
| 44 |
|
|
| 45 |
echo 'Changing directory to /u/httpd/html/download/daily_snapshot' |
echo 'Changing directory to /u/httpd/html/download/daily_snapshot' |