diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-12-21 16:04:59 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-22 14:01:43 +1000 |
commit | c8448bb466d3c532d5867a4452492b1948400c77 (patch) | |
tree | f2ad8ac0c7f19f7c5812e4c69224b23749ca214c | |
parent | ec679e09b2d7b0a2bc84b2edb7dfa628b5295916 (diff) | |
download | pacman-c8448bb466d3c532d5867a4452492b1948400c77.tar.xz |
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 <bluewind@xinu.at>
Signed-off-by: Allan McRae <allan@archlinux.org>
-rwxr-xr-x | scripts/makepkg-template.pl.in | 2 |
1 files changed, 1 insertions, 1 deletions
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; |