diff options
author | ivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-30 23:01:30 +0000 |
---|---|---|
committer | ivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-30 23:01:30 +0000 |
commit | dd9d075405961d97514722018b736657a8021c86 (patch) | |
tree | 6b5ace6b9eade88878749af894b6be2d7a362ac1 | |
parent | 33ef887d5bdeeb12e8e63d903554c6629204f224 (diff) | |
download | mpv-dd9d075405961d97514722018b736657a8021c86.tar.bz2 mpv-dd9d075405961d97514722018b736657a8021c86.tar.xz |
less code for initializing default settings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25219 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | TOOLS/checktree.sh | 34 |
1 files changed, 13 insertions, 21 deletions
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 |