From cc35efa3b2f913a46bffc3f3a63f4c150c3b0650 Mon Sep 17 00:00:00 2001 From: quix0r Date: Fri, 13 Aug 2010 20:59:45 +0000 Subject: [PATCH] Test added so the error message from SVN tool goes away --- DOCS/remove-deprecated.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5