Thank you for making patch, Paul.

I'm sorry, I found bug after BTS.

* dh-make-perl-all doesn't work properly if module is required twice
* typo my E-mail address :-)
diff -u dh-make-perl-all_20051210/dh-make-perl-all 
dh-make-perl-all_20051215/dh-make-perl-all
--- dh-make-perl-all_20051210/dh-make-perl-all  2005-12-15 23:27:08.000000000 
+0900
+++ dh-make-perl-all_20051215/dh-make-perl-all  2005-12-15 23:26:26.000000000 
+0900
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# Copyright (C) 2005 Junji Sawada <[EMAIL PROTECTED],jp>, All Rights Reserved.
+# Copyright (C) 2005 Junji Sawada <[EMAIL PROTECTED]>, All Rights Reserved.
 #
 # dh-make-perl-all: make required debs from module dependency
 
@@ -50,6 +50,20 @@
                        #append needed modules
                        @modules = (trim(split(/,/, $need_modules)), @modules);
                        $need_non_debian = 1;
+                       #remove overlapped modules
+                       @new_modules = ();
+                       foreach $module(@modules) {
+                               $overlapped = 0;
+                               foreach $new_module(@new_modules) {
+                                       if ($module eq $new_module) {
+                                               $overlapped = 1;
+                                       }
+                               }
+                               if (!$overlapped) {
+                                       push(@new_modules, $module);
+                               }
+                       }
+                       @modules = @new_modules;
                        last;
                }
        }
diff -u dh-make-perl-all_20051210/make-apt-repository 
dh-make-perl-all_20051215/make-apt-repository
--- dh-make-perl-all_20051210/make-apt-repository       2005-12-15 
23:27:08.000000000 +0900
+++ dh-make-perl-all_20051215/make-apt-repository       2005-12-15 
23:26:26.000000000 +0900
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Copyright (C) 2005 Junji Sawada <[EMAIL PROTECTED],jp>, All Rights Reserved.
+# Copyright (C) 2005 Junji Sawada <[EMAIL PROTECTED]>, All Rights Reserved.
 
 CODENAME=sid
 

Reply via email to