]> git.mxchange.org Git - mailer.git/blobdiff - contrib/debug-lines.sh
Moved to contrib/ in preperation for merge
[mailer.git] / contrib / debug-lines.sh
diff --git a/contrib/debug-lines.sh b/contrib/debug-lines.sh
new file mode 100755 (executable)
index 0000000..f9fd3ef
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Shell script to determine where in the code are commented-in debug lines
+
+if ! test -e "modules.php"; then
+       echo "$0: Please execute this script from root directory."
+       exit 1
+fi
+
+svn diff |grep -v "svn diff" | grep "DEBUG" | grep "+" | grep -v "//\* DEBUG" > DOCS/debug-lines.log