diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 09:28:32 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 09:28:32 +0000 |
commit | 24aa6436d7c3ca18576bcb768a831b4973ce81e5 (patch) | |
tree | 7a811f2a00b8066558ccc1357003d6dea7a1d475 /solenv/bin | |
parent | 89a1cdcd58952dcf2d7827ca0d2062767dd1f10c (diff) |
INTEGRATION: CWS dba31a (1.4.52); FILE MERGED
2008/07/02 10:42:25 oj 1.4.52.1: #i77916# also handle xcs schema files
Diffstat (limited to 'solenv/bin')
-rw-r--r-- | solenv/bin/makemani.pl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/solenv/bin/makemani.pl b/solenv/bin/makemani.pl index a97a7735923c..df11a50c7e17 100644 --- a/solenv/bin/makemani.pl +++ b/solenv/bin/makemani.pl @@ -11,7 +11,7 @@ # # $RCSfile: makemani.pl,v $ # -# $Revision: 1.4 $ +# $Revision: 1.5 $ # # This file is part of OpenOffice.org. # @@ -52,7 +52,7 @@ sub wanted; sub wanted { - /^.*\.xcu\z/s + /^.*\.xc(s|u)\z/s && ( push @findlist, $name ); # && ( push @findlist, $name ) && print("$name\n"); } @@ -97,7 +97,11 @@ my @bodylines; my @taillines = ("</manifest:manifest>"); foreach my $i (@findlist) { - push @bodylines, " <manifest:file-entry manifest:media-type=\"application/vnd.sun.star.configuration-data\""; + if ($i =~ m/^.*\.xcu\z/s) { + push @bodylines, " <manifest:file-entry manifest:media-type=\"application/vnd.sun.star.configuration-data\""; + } else { + push @bodylines, " <manifest:file-entry manifest:media-type=\"application/vnd.sun.star.configuration-schema\""; + } push @bodylines, " manifest:full-path=\"$i\"/>"; } |