From c29098917a1118d4b435df2b5f542adc8505e123 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 12 Dec 2012 01:07:09 +0200 Subject: Get rid of (most uses of) GUI GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley Tested-by: Peter Foley --- sysui/util/checksize.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysui/util') diff --git a/sysui/util/checksize.pl b/sysui/util/checksize.pl index da4104b29a95..9daf2625829d 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/) || ($file =~ /.+sdf/) ); + return if ( ($file =~ /.+\.(dpc|\w*?flag)/) || ($file =~ /.+\.obj/ && $ENV{OS} ne 'WNT') || ($path =~ /.+etc/) || ($path =~ /.+logs/) || ($file =~ /.+sdf/) ); if ( -z "$path$file" ) { print "Error: $path$file 0 Bytes!\n"; $err++; -- cgit