Просмотр исходного кода

dpkg-genchanges: Clarify changes description open error

Guillem Jover лет назад: 11
Родитель
Сommit
d23fc91c07
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      debian/changelog
  2. 1 1
      scripts/dpkg-genchanges.pl

+ 1 - 0
debian/changelog

@@ -89,6 +89,7 @@ dpkg (1.18.0) UNRELEASED; urgency=low
     - Use “<enter>” instead of “return” or “enter” in input prompts.
     - Use “<enter>” instead of “return” or “enter” in input prompts.
     - Say directory instead of dir in output messages.
     - Say directory instead of dir in output messages.
     - Merge the same dpkg-scanpackages warning messages into a single line.
     - Merge the same dpkg-scanpackages warning messages into a single line.
+    - Clarify dpkg-genchanges changes description open error.
 
 
   [ Raphaël Hertzog ]
   [ Raphaël Hertzog ]
   * Drop myself from Uploaders.
   * Drop myself from Uploaders.

+ 1 - 1
scripts/dpkg-genchanges.pl

@@ -419,7 +419,7 @@ foreach (keys %{$changelog}) {
 
 
 if ($changesdescription) {
 if ($changesdescription) {
     open(my $changes_fh, '<', $changesdescription)
     open(my $changes_fh, '<', $changesdescription)
-        or syserr(g_('read changesdescription'));
+        or syserr(g_('cannot read %s'), $changesdescription);
     $fields->{'Changes'} = "\n" . file_slurp($changes_fh);
     $fields->{'Changes'} = "\n" . file_slurp($changes_fh);
     close($changes_fh);
     close($changes_fh);
 }
 }