Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix xulapp generation broken by changes required by wxi

  • Loading branch information...
commit 5e15200d402287c0ab36e087f3a2ccc6a30a3c24 1 parent 765cfa7
@prefiks prefiks authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 tools/perl5lib/OneTeam/Builder/Filter/Saver/XPI.pm
View
5 tools/perl5lib/OneTeam/Builder/Filter/Saver/XPI.pm
@@ -43,7 +43,7 @@ sub path_convert {
sub finalize {
my $self = shift;
- my $tmpdir = catdir(tempdir('otXXXXXX', TMPDIR => 1, CLEANUP => 1), "OneTeam");
+ my $tmpdir = catdir(tempdir('otXXXXXX', TMPDIR => 1, CLEANUP => ), "OneTeam");
my $tmppfxdir = $self->_prefix ? catdir($tmpdir, $self->_prefix) : $tmpdir;
my $chromedir = catdir($tmppfxdir, "chrome");
@@ -62,7 +62,7 @@ sub _make_package {
my ($self, $tmpdir, $tmppfxdir) = @_;
my $cwd = getcwd();
- chdir("$self->{outputdir}/chrome");
+ chdir($tmppfxdir);
system(qw(zip -q -9 -r), catfile($self->{topdir}, $self->_output_filename), ".");
chdir($cwd);
}
@@ -77,6 +77,7 @@ sub _prepare_files_for_packing {
$d, qw(default.ico default.xpm));
my $cwd = getcwd();
+
chdir("$self->{outputdir}/chrome");
system(qw(zip -q -0 -r), catfile($chromedir, 'oneteam.jar'), ".");
chdir($cwd);
Please sign in to comment.
Something went wrong with that request. Please try again.