blob: 1367f4aa43907f0ebee98042c39aae90d295d443 (
plain)
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
|
#!/bin/bash
svn=${1:-/usr/local/src/enlightenment/svn}
overlay=${2:-${0%/*}/../}
get_svn_dirs() {
find $svn/$1/ \
-mindepth 1 -maxdepth 1 \
-type d '!' '(' -name CVSROOT -o -name .svn ')' \
-printf '%P\n' | sort
}
line() {
printf "%10s: %-20s -> %s\n" "$1" "$2" \
$(find $overlay -name "$3" -printf '%P')
}
has() { [[ " ${*:2} " == *" $1 "* ]] ; }
for t in OLD BROKEN E-MODULES-EXTRA PROTO "" ; do
for d in $(get_svn_dirs $t) ; do
dd=$d
if [[ ! -e ${svn}/${t}/${d}/configure.ac ]] &&
[[ ! -e ${svn}/${t}/${d}/configure.in ]]
then
continue
fi
[[ ${d}${t} == E-MODULES-EXTRA ]] && continue
[[ ${t} == E-MODULES-EXTRA ]] && dd=e_modules-$d
line "${t/-EXTRA}" $d $dd
done
done
|