aboutsummaryrefslogtreecommitdiffstats
path: root/romanian/whatsnew.sh
blob: d637b5bf93df0d8c3ee3d96e5d0bfba724fefa4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/sh

#  $Id$
#
#  script to check out the English versions only for the translations
#  reason: the site has grown to 30Mb
#
#  Usage: cd romanian && ./whatsnew.sh 
#

translation=romanian
efiles=""
tfiles=""

cd ..
cvs update .wmlrc
cvs update Makefile.common
cvs update check_trans.pl
cvs update -d Perl
cvs update -d english/template
cvs update -d italian/po

cvs update -d $translation
  rm -rf $translation/CD
files=`find $translation -name '*' -print | grep -v CVS`

for f in $files
do
  if [ -f $f ]; then
    case $f in
	*html)
	    echo "   Skipping $f..."
	    continue
		;;
	esac
	
    ef=`echo $f | sed s/$translation/english/`
    echo "$f <=> $ef"
    efiles=$efiles" "$ef
    tfiles=$tfiles" "$f
    #cvs update -d $f
    cvs update -d $ef
  fi
done
#echo $tfiles
#echo $efiles
#cvs update $tfiles
#cvs update $efiles


# check which one is newer
echo 
echo "====== Outdated files: "
for f in $files
do
  if [ -f $f ]; then
    ef=`echo $f | sed s/$translation/english/`
	if [ $ef -nt $f ]; then
	    echo "    $f"
	fi
  fi
done

cd $translation
echo "====== Done "

cd .. && ./check_trans.pl -q $translation

© 2014-2024 Faster IT GmbH | imprint | privacy policy