build.sh: Restore alphabetical order to the cmdline options.
[xorg-util-modular.git] / haschanged.sh
blob70de1817ceb9fe738b82339855a51be623ae03f6
1 #!/bin/sh
3 if test x$1 = x; then
4 echo Usage $0 tag
5 exit 1
6 fi
8 TAG=$1
10 haschanged() {
11 if ! test -d $1; then
12 exit $1 is not a directory
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
25 done
26 cd ..
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