[Libreoffice-commits] .: Branch 'feature/killsdf' - sysui/util

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Oct 14 08:20:34 PDT 2012


 sysui/util/checksize.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dbc5c63bb3d3855747eeb9ade3e8206aa9f74e95
Author: Zolnai Tamás <zolnaitamas2000 at gmail.com>
Date:   Sun Oct 14 17:18:25 2012 +0200

    Correct checksize.pl not to work with sdf
    
    Change-Id: I644874f123079a88d0901e77b367b7a35bb44b9e

diff --git a/sysui/util/checksize.pl b/sysui/util/checksize.pl
index 33f66c0..da4104b 100644
--- a/sysui/util/checksize.pl
+++ b/sysui/util/checksize.pl
@@ -70,7 +70,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,sdf [obj for UNX] files, or etc subdirectory
-    return if ( ($file =~ /.+\.(dpc|\w*?flag)/) || ($file =~ /.+\.obj/ && $ENV{GUI} eq 'UNX') || ($path =~ /.+etc/) || ($path =~ /.+logs/) || ($path =~ /.+sdf/) );
+    return if ( ($file =~ /.+\.(dpc|\w*?flag)/) || ($file =~ /.+\.obj/ && $ENV{GUI} eq 'UNX') || ($path =~ /.+etc/) || ($path =~ /.+logs/) || ($file =~ /.+sdf/) );
     if ( -z "$path$file" ) {
         print "Error: $path$file 0 Bytes!\n";
         $err++;


More information about the Libreoffice-commits mailing list