Fixes for referal system, shell scripts overworked:
[mailer.git] / DOCS / remove-deprecated.sh
1 #!/bin/sh
2
3 if ! test -e "modules.php"; then
4   echo "$0: Please execute this script from root directory."
5   exit 1
6 fi
7
8 LIST=`find -name "*.tpl" -exec grep -H "@DEPRECATED" {} \;`
9 if test "${LIST}" != ""; then
10         echo "${LIST}" | cut -d ":" -f 1 | xargs svn --force del
11         sh ./DOCS/todo-builder.sh
12 fi