/[webwml]/webwml/romanian/whatsnew.sh
ViewVC logotype

Contents of /webwml/romanian/whatsnew.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Jun 11 16:13:10 2001 UTC (11 years, 11 months ago) by romanian
Branch: MAIN
File MIME type: application/x-sh
First version of some economical tools - I do not want to check out the whole site
1 #!/bin/sh
2
3 # $Id: whatsnew.sh,v 1.1 2001/06/11 16:13:10 romanian Exp $
4 #
5 # script to check out the English versions only for the translations
6 # reason: the site has grown to 30Mb
7 # works in pair with whatsnew.mak
8 #
9
10 translation=romanian
11
12 cd ..
13 cvs update .wmlrc
14 cvs update Makefile.common
15
16 files=`find $translation -name '*' -print | grep -v CVS`
17
18 for f in $files
19 do
20 if [ -f $f ]; then
21 ef=`echo $f | sed s/$translation/english/`
22 echo "$f <=> $ef"
23 cvs update -d $f
24 cvs update -d $ef
25 fi
26 done
27
28 # check which one is newer
29 # do not know how to stat files in shell
30 echo
31 for f in $files
32 do
33 if [ -f $f ]; then
34 ef=`echo $f | sed s/$translation/english/`
35 TFILE=$f
36 export TFILE
37 OFILE=$ef
38 export OFILE
39 make -f $translation/whatsnew.mak &> '.###'
40 cat '.###' | grep Outdated
41 fi
42 done
43 rm '.###'
44
45 cd $translation
46 echo "====== Done ======"
47

  ViewVC Help
Powered by ViewVC 1.1.5