From c8448bb466d3c532d5867a4452492b1948400c77 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 21 Dec 2014 16:04:59 +0100 Subject: makepkg-template: Remove unused printf format string I'm pretty sure this is some kind of left over stuff that was supposed to print the filename, linenumber and line content. This is already done so just remove it. Signed-off-by: Florian Pritz Signed-off-by: Allan McRae --- scripts/makepkg-template.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/makepkg-template.pl.in b/scripts/makepkg-template.pl.in index 6e6d9444..d9da1674 100755 --- a/scripts/makepkg-template.pl.in +++ b/scripts/makepkg-template.pl.in @@ -70,7 +70,7 @@ sub parse_template_line { foreach my $element (@elements) { my ($key, $val) = ($element =~ /^([a-z0-9]+)=(.*)$/); unless ($key and $val) { - die gettext("invalid key/value pair\n%s:%s: %s"), + die gettext("invalid key/value pair\n"), "$filename:$linenumber: $line"; } $values{$key} = $val; -- cgit v1.2.3-24-g4f1b