X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=DOCS%2Fremove-deprecated.sh;h=b813380d7f500db89ba1e6abfffda270f6e4efcd;hb=3ae6ec94bd1c85666174eb26c2508c574fac52b5;hp=045d8025702b01f8c4680544689a8d56f7cae1e6;hpb=39e23cf756c4bfac9bd692e4d98609c5c2a8f066;p=mailer.git diff --git a/DOCS/remove-deprecated.sh b/DOCS/remove-deprecated.sh index 045d802570..b813380d7f 100755 --- a/DOCS/remove-deprecated.sh +++ b/DOCS/remove-deprecated.sh @@ -1,5 +1,7 @@ #!/bin/sh LIST=`find -name "*.tpl" -exec grep -H "@DEPRECATED" {} \;` -echo "${LIST}" | cut -d ":" -f 1 | xargs svn --force del -sh ./DOCS/todo-builder.sh +if test "${LIST}" != ""; then + echo "${LIST}" | cut -d ":" -f 1 | xargs svn --force del + sh ./DOCS/todo-builder.sh +fi