From 67d9b15b7626ac0312d75549d4066b2c18c152dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= 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