[debhelper-devel] [debhelper] 01/01: Dh_Lib: Tweak an error message

Niels Thykier nthykier at moszumanska.debian.org
Sun Feb 19 07:31:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit c7fbe36db02226e0fcdf1e1cf7660a653fb21b1d
Author: Niels Thykier <niels at thykier.net>
Date:   Sun Feb 19 07:30:58 2017 +0000

    Dh_Lib: Tweak an error message
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 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 1d2bde1..13406cb 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;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list