Continued:
[core.git] / contrib / todo-all.sh
1 #!/bin/sh
2
3 echo "$0: Reading projects..."
4 LIST=`find -maxdepth 1 -type d -name "??*" | sort --unique`
5 SVN_DIRS="branches tags trunk"
6
7 for repos in $LIST; do
8         for svn_dir in $SVN_DIRS; do
9                 if test -e "$repos/$svn_dir/todo-builder.sh"; then
10                         echo "$0: Updating TODOs.txt in $repos/$svn_dir"
11                         cd "$repos/$svn_dir/"
12                         sh ./todo-builder.sh
13                         svn add docs/TODOs.txt >/dev/null 2>&1
14                         cd - >/dev/null
15                 fi
16         done
17 done