[devscripts] 01/02: mk-origtargz: Apply advice by Niels Thykier
Joachim Breitner
nomeata at moszumanska.debian.org
Wed Apr 23 16:44:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to branch master
in repository devscripts.
commit b3296d9a96340ddc4161a78dd0422871db08bd22
Author: Joachim Breitner <nomeata at debian.org>
Date: Wed Apr 23 18:41:06 2014 +0200
mk-origtargz: Apply advice by Niels Thykier
---
scripts/mk-origtargz.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/mk-origtargz.pl b/scripts/mk-origtargz.pl
index 62e88de..5e5fd78 100755
--- a/scripts/mk-origtargz.pl
+++ b/scripts/mk-origtargz.pl
@@ -294,7 +294,7 @@ for my $copyright_file (@copyright_files) {
} elsif (-r $copyright_file) {
# be helpful
my $has_files_excluded = 0;
- open COPYRIGHT, '<', $copyright_file;
+ open COPYRIGHT, "debian/copyright" or die "debian/copyright $!\n";
$has_files_excluded ||= /Files-Excluded/i while (<COPYRIGHT>);
close COPYRIGHT;
print STDERR
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list