summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRaphael Hertzog <hertzog@debian.org>2008-03-18 17:56:50 +0100
committerRaphael Hertzog <hertzog@debian.org>2008-03-18 17:56:50 +0100
commit960d661a9a03a6a5c79f98effd63fc5cffa19420 (patch)
tree3e47e9bc20881630533e84df556f92ff02ddaf95 /scripts
parent867c88dadccff6e285c48dadccb61f9001b50d9b (diff)
downloaddpkg-960d661a9a03a6a5c79f98effd63fc5cffa19420.tar.gz
* scripts/Dpkg/Source/Package/V3_0/native.pm: Import missing function and bugfix.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Dpkg/Source/Package/V3_0/native.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Dpkg/Source/Package/V3_0/native.pm b/scripts/Dpkg/Source/Package/V3_0/native.pm
index 5efab3ef9..1ecd1dfb4 100644
--- a/scripts/Dpkg/Source/Package/V3_0/native.pm
+++ b/scripts/Dpkg/Source/Package/V3_0/native.pm
@@ -23,7 +23,7 @@ use base 'Dpkg::Source::Package';
use Dpkg;
use Dpkg::Gettext;
-use Dpkg::ErrorHandling qw(error syserr info);
+use Dpkg::ErrorHandling qw(error syserr info usageerr);
use Dpkg::Compression;
use Dpkg::Source::Archive;
use Dpkg::Source::Functions qw(erasedir);
@@ -66,7 +66,7 @@ sub can_build {
sub do_build {
my ($self, $dir) = @_;
my @tar_ignore = map { "--exclude=$_" } @{$self->{'options'}{'tar_ignore'}};
- my @argv = $self->{'options'}{'ARGV'};
+ my @argv = @{$self->{'options'}{'ARGV'}};
if (scalar(@argv)) {
usageerr(_g("-b takes only one parameter with format `%s'"),