diff options
Diffstat (limited to 'perl/Debian/Buildsystem/xul_ext.pm')
-rw-r--r-- | perl/Debian/Buildsystem/xul_ext.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/perl/Debian/Buildsystem/xul_ext.pm b/perl/Debian/Buildsystem/xul_ext.pm index 89c8763..983323d 100644 --- a/perl/Debian/Buildsystem/xul_ext.pm +++ b/perl/Debian/Buildsystem/xul_ext.pm @@ -32,7 +32,12 @@ sub build { sub install { my $this=shift; - $this->doit_in_sourcedir("install-xpi", $dh{FIRSTPACKAGE} . ".xpi"); + # the first param dh_auto_install gives us is the source + # directory; if we shift it off, @_ contains everything passed + # by the user after '--', which we pass to install-xpi as + # dh_auto_install(1) claims + shift; + $this->doit_in_sourcedir("install-xpi", @_, $dh{FIRSTPACKAGE} . ".xpi"); } sub clean { |