repo.or.cz
/
xorg-util-modular.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
build pthread-stubs before libxcb
[xorg-util-modular.git]
/
haschanged.sh
blob
70de1817ceb9fe738b82339855a51be623ae03f6
1
#!/bin/sh
2
3
if
test
x
$1
=
x
;
then
4
echo
Usage
$0
tag
5
exit
1
6
fi
7
8
TAG
=
$1
9
10
haschanged
() {
11
if
!
test -d
$1
;
then
12
exit
$1
is not a directory
13
fi
14
cd
$1
15
for
i
in
`ls -1`
;
do
16
if
test -e
$i
/
configure.ac
;
then
17
CHANGED
=
no
18
cvs
diff
-uN -r
$TAG
-r
HEAD
$i
> /
dev
/
null
2
>&
1
|| CHANGED
=
yes
19
if
test
$CHANGED
=
yes
;
then
20
echo
$1
/
$i
has changed since
$TAG
21
else
22
echo
$1
/
$i
has not changed since
$TAG
23
fi
24
fi
25
done
26
cd
..
27
}
28
29
haschanged app
30
haschanged data
31
haschanged doc
32
haschanged driver
33
haschanged font
34
haschanged lib
35
haschanged proto
36
haschanged util
37
haschanged xserver