summaryrefslogtreecommitdiff
path: root/postprocess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-25 11:13:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:17 +0100
commitdf5e8df4598c27a348dac30557535ec9205e3c04 (patch)
treead9f1c94a8061437efa348d66ae769c6bc379b2d /postprocess
parent506d096eefa8931de435bd42ed4e4a6abe3bf369 (diff)
validate and pack .ui files as well as .xml files
Diffstat (limited to 'postprocess')
-rw-r--r--postprocess/checkxml/checkxml.pl4
-rw-r--r--postprocess/packconfig/packconfig.pl2
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;
}
}