The following commit has been merged in the master branch:
commit 170fd06d3573238bab92594afe4d49b61bf77407
Author: Guillem Jover <guil...@debian.org>
Date:   Sun May 10 19:59:25 2009 +0200

    dpkg-vendor: Error out when no action option is provided
    
    It was previously giving perl warnings due to uninitialized variables.

diff --git a/scripts/dpkg-vendor.pl b/scripts/dpkg-vendor.pl
index f010e6e..64bcb32 100755
--- a/scripts/dpkg-vendor.pl
+++ b/scripts/dpkg-vendor.pl
@@ -78,6 +78,8 @@ while (@ARGV) {
     }
 }
 
+usageerr(_g("need an action option")) unless defined($action);
+
 # Uses $ENV{DEB_VENDOR} if set
 $vendor = get_current_vendor() unless defined($vendor);
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to