X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=contrib%2Ftodo-all.sh;fp=contrib%2Ftodo-all.sh;h=f3a806af635c4b73e3709686fa02213a6a8bd03e;hb=d2d298a1fcc6217a93e7d67f0de7b976d5bfd5e7;hp=0000000000000000000000000000000000000000;hpb=421d8c20ff4014ddae23e61b6654666b039bf00d;p=core.git diff --git a/contrib/todo-all.sh b/contrib/todo-all.sh new file mode 100755 index 00000000..f3a806af --- /dev/null +++ b/contrib/todo-all.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +echo "$0: Reading projects..." +LIST=`find -maxdepth 1 -type d -name "??*" | sort --unique` +SVN_DIRS="branches tags trunk" + +for repos in $LIST; do + for svn_dir in $SVN_DIRS; do + if test -e "$repos/$svn_dir/todo-builder.sh"; then + echo "$0: Updating TODOs.txt in $repos/$svn_dir" + cd "$repos/$svn_dir/" + sh ./todo-builder.sh + svn add docs/TODOs.txt >/dev/null 2>&1 + cd - >/dev/null + fi + done +done