changeset 23936:c0b23a73d5f1

10l, forgot to make TAB global
author ivo
date Tue, 31 Jul 2007 07:49:24 +0000
parents b4a1d0cf4c11
children 00d78036f96b
files TOOLS/checktree.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/checktree.sh	Tue Jul 31 07:45:06 2007 +0000
+++ b/TOOLS/checktree.sh	Tue Jul 31 07:49:24 2007 +0000
@@ -267,6 +267,8 @@
   _grepopts="-l -I"
 fi
 
+TAB=`echo " " | tr ' ' '\011'`
+
 # -----------------------------------------------------------------------------
 
 # DO CHECKS
@@ -297,7 +299,6 @@
 
 if [ "$_tabs" = "yes" ]; then
     printhead "checking for TAB characters ..."
-    TAB=`echo " " | tr ' ' '\011'`
     grep $_grepopts "$TAB" $filelist
 fi