From 9488b6476f9ba14185508dbb7940adf502d1704e Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 2 Nov 2000 20:07:53 +0000 Subject: [PATCH] Make sure to carefully quote file names. --- tools/find_debug_channels | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/find_debug_channels b/tools/find_debug_channels index 71273960886..05377e82c96 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="$@";;