From c7fbe36db02226e0fcdf1e1cf7660a653fb21b1d Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 19 Feb 2017 07:30:58 +0000 Subject: Dh_Lib: Tweak an error message Signed-off-by: Niels Thykier --- Debian/Debhelper/Dh_Lib.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 1d2bde1a..13406cb4 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -1365,11 +1365,11 @@ sub restore_file_on_clean { if ($file =~ m{^\.} or $file =~ m{/CVS/} or $file =~ m{/\.svn/}) { # We do not want to smash a Vcs repository by accident. warning("Attempt to store $file, which looks like a VCS file or"); - warning("a hidden package file (like quilt's \".pc\" directory"); + warning("a hidden package file (like quilt's \".pc\" directory)"); error("This tool probably contains a bug."); } if (-l $file or not -f _) { - error("Cannot store $file, which is a non-file (incl. a symlink)"); + error("Cannot store $file: Can only store regular files (no symlinks, etc.)"); } require Digest::SHA; -- cgit v1.2.3