~ubuntu-branches/ubuntu/quantal/gclcvs/quantal

« back to all changes in this revision

Viewing changes to xbin/is-V-newest

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2004-06-24 15:13:46 UTC
  • Revision ID: james.westby@ubuntu.com-20040624151346-xh0xaaktyyp7aorc
Tags: 2.7.0-26
C_GC_OFFSET is 2 on m68k-linux

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
cd V
 
3
OBJS=`find . \( -name '*[0-9a-zA-Z]' -a  -type f \) -print`
 
4
MAINDIR=/public/kcl
 
5
cd ..
 
6
 
 
7
for v in ${OBJS} ; do
 
8
./merge  ${MAINDIR}/$v V/$v  tmpx
 
9
if
 
10
cmp $v tmpx > /dev/null
 
11
then true
 
12
# else echo $v differed do
 
13
else
 
14
echo kcl-merge $v
 
15
# echo ./merge  ${MAINDIR}/$v V/$v  tmpx
 
16
# ls -l tmpx $v
 
17
# diff -c tmpx $v
 
18
fi
 
19
done
 
20
 
 
21
rm tmpx
 
22
 
 
23
OBJS=`find ./c \( -name '[./0-9a-zA-Z]*.[cd]' -a  -type f \) -print`
 
24
LOBJ=`find ./lsp \( -name '[./0-9a-zA-Z]*.lsp' -a  -type f \) -print`  
 
25
CMPOBJ=`find ./cmpnew \( -name '[./0-9a-zA-Z]*.lsp' -a  -type f \) -print`
 
26
HFIL=`find ./h \( -name '[./0-9a-zA-Z]*.h' -a  -type f \) -print`
 
27
 
 
28
for v in ${OBJS} ${LOBJ} ${CMPOBJ} ${HFIL} ;
 
29
do if  [ -f ${MAINDIR}/$v ]
 
30
   then
 
31
    if  cmp $v ${MAINDIR}/$v > /dev/null 
 
32
     then true
 
33
     else
 
34
      if [ ! -f V/$v ] ; then  echo kcl-merge $v ;  fi
 
35
    fi
 
36
   fi
 
37
done