From dd9d075405961d97514722018b736657a8021c86 Mon Sep 17 00:00:00 2001 From: ivo Date: Fri, 30 Nov 2007 23:01:30 +0000 Subject: less code for initializing default settings git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25219 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/checktree.sh | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) (limited to 'TOOLS') diff --git a/TOOLS/checktree.sh b/TOOLS/checktree.sh index 966355c805..7021f173be 100755 --- a/TOOLS/checktree.sh +++ b/TOOLS/checktree.sh @@ -33,27 +33,6 @@ testflags=" spaces extensions crlf tabs trailws rcsid oll charset stupid gnu \ res depr" allflags="$testflags showcont color head svn " -# Default settings - -_spaces=yes -_extensions=yes -_crlf=yes -_tabs=no -_trailws=no -_rcsid=no -_oll=no -_charset=no -_stupid=no -_showcont=no -_gnu=no -_res=no -_depr=no - -_color=yes -_head=yes -_svn=yes -_files= - # ----------------------------------------------------------------------------- # Avoid locale problems @@ -94,6 +73,19 @@ all_filenames() { # ----------------------------------------------------------------------------- +# Default settings + +set_all_tests no +_spaces=yes +_extensions=yes +_crlf=yes + +_showcont=no +_color=yes +_head=yes +_svn=yes +_files= + # Parse command line for i in "$@"; do -- cgit v1.2.3