diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-25 11:13:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:17 +0100 |
commit | df5e8df4598c27a348dac30557535ec9205e3c04 (patch) | |
tree | ad9f1c94a8061437efa348d66ae769c6bc379b2d | |
parent | 506d096eefa8931de435bd42ed4e4a6abe3bf369 (diff) |
validate and pack .ui files as well as .xml files
-rw-r--r-- | postprocess/checkxml/checkxml.pl | 4 | ||||
-rw-r--r-- | postprocess/packconfig/packconfig.pl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/postprocess/checkxml/checkxml.pl b/postprocess/checkxml/checkxml.pl index 2f0451476422..ca75ed7ab9cd 100644 --- a/postprocess/checkxml/checkxml.pl +++ b/postprocess/checkxml/checkxml.pl @@ -20,7 +20,7 @@ eval 'exec perl -wS $0 ${1+"$@"}' # # # -# check_xml.pl - check xml,xcs,xcu files size, NULL character +# check_xml.pl - check ui,xml,xcs,xcu files size, NULL character # my @@ -73,7 +73,7 @@ sub check #04.02.2005 13:40 my $path = shift; my $file = shift; print "$path$file\n" if ((-e "$path$file") && $is_debug); - return if ( $file !~ /.+\.(xcu|xml|xcs)/ ); #check xml and xcu files only + return if ( $file !~ /.+\.(ui|xcu|xml|xcs)/ ); #check ui, xml and xcu files only if ( -z "$path$file" ) { print "Error: $path$file 0 Bytes!\n"; $err++; diff --git a/postprocess/packconfig/packconfig.pl b/postprocess/packconfig/packconfig.pl index fb024f82d08f..924dee9f7bc9 100644 --- a/postprocess/packconfig/packconfig.pl +++ b/postprocess/packconfig/packconfig.pl @@ -124,7 +124,7 @@ sub wanted { my $file = $_; - if ( $file =~ /.*\.xml$/ && -f $file ) { + if ( $file =~ /.*\.(ui|xml)$/ && -f $file ) { push @main::file_list, $File::Find::name; } } |