rev 11723 - branches/kde4/cdbs

Modestas Vainius modax-guest at alioth.debian.org
Thu Jul 24 21:53:18 UTC 2008


Author: modax-guest
Date: 2008-07-24 21:53:18 +0000 (Thu, 24 Jul 2008)
New Revision: 11723

Modified:
   branches/kde4/cdbs/dh_sameversiondeps
Log:
It is probably more optimal to default to the fieldname current  is present

Modified: branches/kde4/cdbs/dh_sameversiondeps
===================================================================
--- branches/kde4/cdbs/dh_sameversiondeps	2008-07-24 21:48:20 UTC (rev 11722)
+++ branches/kde4/cdbs/dh_sameversiondeps	2008-07-24 21:53:18 UTC (rev 11723)
@@ -180,7 +180,7 @@
                     my $scanpkg = $2;
                     $scanpkg = $dh{MAINPACKAGE} unless defined $scanpkg;
                     my $deptype = $3;
-                    $deptype = $fields[0] unless defined $deptype;
+                    $deptype = $fieldname unless defined $deptype;
 
                     if (!exists $shlibsvars{$scanpkg}) {
                         my $scan_substvars = sprintf("debian/%ssubstvars", pkgext($scanpkg));




More information about the pkg-kde-commits mailing list