]> git.mxchange.org Git - mailer.git/commitdiff
Test added so the error message from SVN tool goes away
authorRoland Häder <roland@mxchange.org>
Fri, 13 Aug 2010 20:59:45 +0000 (20:59 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 13 Aug 2010 20:59:45 +0000 (20:59 +0000)
DOCS/remove-deprecated.sh

index 045d8025702b01f8c4680544689a8d56f7cae1e6..b813380d7f500db89ba1e6abfffda270f6e4efcd 100755 (executable)
@@ -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