Permalink
Browse files

Don't include jsjac/{AUTHORS,COPYING} in xpi file

  • Loading branch information...
1 parent cb2dddb commit 0a3befb7ebaa7499c3fa45ad9637d3e1e6ad6670 @prefiks prefiks committed Dec 7, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 tools/perl5lib/OneTeam/Builder/Filter/Saver/XPI.pm
@@ -69,6 +69,8 @@ sub analyze {
sub path_convert {
my ($self, $file, $locale) = @_;
+ return undef if $file =~ m!jsjac[\\/](?:AUTHORS|COPYING)!;
+
return catfile($self->{outputdir}, "chrome", "locale", $1)
if $file =~ /(?:^|[\\\/])(branding[\\\/].*)/;

0 comments on commit 0a3befb

Please sign in to comment.