index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Florian Pritz <bluewind@xinu.at> | 2014-12-28 15:56:53 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-01-11 18:58:24 +1000 |
commit | f617b6acd4e33586819ac5728825cbdcac12f042 (patch) | |
tree | 04d20efb3ea10849380603f61961601f10fe1f0d /scripts/makepkg-template.pl.in | |
parent | 77ca6e40622cea463c601566a85b40ebaea69598 (diff) |
-rwxr-xr-x | scripts/makepkg-template.pl.in | 4 |
diff --git a/scripts/makepkg-template.pl.in b/scripts/makepkg-template.pl.in index d9da1674..4bfd4d6a 100755 --- a/scripts/makepkg-template.pl.in +++ b/scripts/makepkg-template.pl.in @@ -109,7 +109,7 @@ sub load_template { my ($version) = (abs_path($path) =~ /-([0-9.]+)[.]template$/); if (!$version) { - die sprintf(gettext("Couldn't detect version for template '%s'"), $values->{name}); + die sprintf(gettext("Couldn't detect version for template '%s'\n"), $values->{name}); } my $parsed = process_file($path); @@ -128,7 +128,7 @@ sub process_file { my $nesting_level = 0; my $linenumber = 0; - open (my $fh, "<", $filename) or die sprintf(gettext("failed to open '%s': %s"), $filename, $!); + open (my $fh, "<", $filename) or die sprintf(gettext("failed to open '%s': %s\n"), $filename, $!); my @lines = <$fh>; close $fh; |