diff --git a/find-requires b/find-requires index f28109f..9de3ec2 100755 --- a/find-requires +++ b/find-requires @@ -18,7 +18,8 @@ fi # # --- Grab the file manifest and classify files. -filelist=`sed "s/['\"]/\\\&/g"` +#filelist=`sed "s/['\"]/\\\&/g"` +filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` exelist=`echo $filelist | xargs -r file | egrep -v ":.* (commands|script) " | \ grep ":.*executable" | cut -d: -f1` scriptlist=`echo $filelist | xargs -r file | \