]> git.mxchange.org Git - hub.git/blobdiff - contrib/remove-deprecated.sh
Moved communicatorInstance to 'core'.
[hub.git] / contrib / remove-deprecated.sh
index ed342472798f0565f0cdf15e16d7710558720d04..881929d27c18198676142bc4188760b6e1600718 100755 (executable)
@@ -6,11 +6,11 @@ if ! test -e "index.php"; then
 fi
 
 echo "$0: Searching for deprecated PHP scripts ..."
-LIST1=`find -type f -name "*.php" -size 24c -exec grep -H "@DEPRECATED" {} \;`
+LIST1=`find application/hub/ -type f -name "*.php" -size 24c -exec grep -H "@DEPRECATED" {} \;`
 
 LIST="${LIST1} ${LIST2}"
 
 if test "${LIST}" != " "; then
-       echo "${LIST}" | cut -d ":" -f 1 | xargs svn --force del
+       echo "${LIST}" | cut -d ":" -f 1 | xargs git rm
        sh ./todo-builder.sh
 fi