The following commit has been merged in the master branch:
commit 26ef0918dc42a14bb46b97128870ecad1a0d6ea2
Author: Niels Thykier <[email protected]>
Date:   Wed Sep 19 21:54:39 2012 +0200

    coll/copyright: Pass correct filename to gunzip_file
    
    Currently, it has not created any issues because gzip checks for
    "$file.gz" if $file is absent.
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/collection/copyright-file b/collection/copyright-file
index afcb04e..b77afaf 100755
--- a/collection/copyright-file
+++ b/collection/copyright-file
@@ -50,12 +50,14 @@ if (-l $file) {
     link ($file, "$dir/copyright")
         or fail("cannot link $file to copyright: $!");
 } elsif (-f "$file.gz") {
-    gunzip_file ($file, "$dir/copyright");
+    gunzip_file ("$file.gz", "$dir/copyright");
 } else {
     # no copyright file found
     touch_file ("$dir/copyright");
 }
 
+exit 0;
+
 # Local Variables:
 # indent-tabs-mode: nil
 # cperl-indent-level: 4

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to