INTEGRATION: CWS obo06 (1.3.20); FILE MERGED

2006/06/08 15:35:16 obo 1.3.20.1: #i65939# ignore misc/logs directory
This commit is contained in:
Jens-Heiner Rechtien 2006-06-09 11:29:56 +00:00
parent fd28570ff1
commit a8be764909

View file

@ -7,9 +7,9 @@ eval 'exec perl -wS $0 ${1+"$@"}'
#
# $RCSfile: checksize.pl,v $
#
# $Revision: 1.3 $
# $Revision: 1.4 $
#
# last change: $Author: rt $ $Date: 2006-04-21 10:48:45 $
# last change: $Author: hr $ $Date: 2006-06-09 12:29:56 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@ -87,7 +87,7 @@ sub check #04.02.2005 13:40
my $file = shift;
print "$path$file\n" if ((-e "$path$file") && $is_debug);
# don't check dpc,flag,rpmflag, [obj for UNX] files, or etc subdirectory
return if ( ($file =~ /.+\.(dpc|\w*?flag)/) || ($file =~ /.+\.obj/ && $ENV{GUI} eq 'UNX') || ($path =~ /.+etc/) );
return if ( ($file =~ /.+\.(dpc|\w*?flag)/) || ($file =~ /.+\.obj/ && $ENV{GUI} eq 'UNX') || ($path =~ /.+etc/) || ($path =~ /.+logs/) );
if ( -z "$path$file" ) {
print "Error: $path$file 0 Bytes!\n";
$err++;