[SCM] Debian package checker branch, master, updated. 2.5.10-149-g26ef091
The following commit has been merged in the master branch:
commit 26ef0918dc42a14bb46b97128870ecad1a0d6ea2
Author: Niels Thykier <niels@thykier.net>
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 <niels@thykier.net>
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
Reply to: