The following commit has been merged in the sourcev3 branch:
commit 960d661a9a03a6a5c79f98effd63fc5cffa19420
Author: Raphael Hertzog <[EMAIL PROTECTED]>
Date:   Tue Mar 18 17:56:50 2008 +0100

    * scripts/Dpkg/Source/Package/V3_0/native.pm: Import missing function and 
bugfix.

diff --git a/scripts/Dpkg/Source/Package/V3_0/native.pm 
b/scripts/Dpkg/Source/Package/V3_0/native.pm
index 5efab3e..1ecd1df 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'"),

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to