#!/bin/sh if ! test -e "modules.php"; then echo "$0: Please execute this script from root directory." exit 1 fi LIST=`find -name "*.tpl" -exec grep -H "@DEPRECATED" {} \;` if test "${LIST}" != ""; then echo "${LIST}" | cut -d ":" -f 1 | xargs svn --force del sh ./DOCS/todo-builder.sh fi