Make sure to carefully quote file names.

diff --git a/tools/find_debug_channels b/tools/find_debug_channels
index 7127396..05377e8 100755
--- a/tools/find_debug_channels
+++ b/tools/find_debug_channels
@@ -32,8 +32,8 @@
 #
 
 case "$#" in
-    0 | 1)  files=${1:-'*.c'}
-	    if [ `echo $files | sed 's/^\(.*\)\/$/\1/g'` = "$files" ]; then
+    0 | 1)  files="${1:-*.c}"
+	    if [ "`echo "$files" | sed 's/^\(.*\)\/$/\1/g'`" = "$files" ]; then
 		files=`find . -name "$files" -print`
 	    fi;;
     *    )  files="$@";;