diff options
author | Niels Thykier <niels@thykier.net> | 2017-02-19 07:30:58 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-02-19 07:30:58 +0000 |
commit | c7fbe36db02226e0fcdf1e1cf7660a653fb21b1d (patch) | |
tree | cdc1d5bea66d1258d44f2c1c43978afdacccd09f | |
parent | 6b05acdf097f3ff8c0e82f641c160f4f6ca29f67 (diff) | |
download | debhelper-c7fbe36db02226e0fcdf1e1cf7660a653fb21b1d.tar.gz |
Dh_Lib: Tweak an error message
Signed-off-by: Niels Thykier <niels@thykier.net>
-rw-r--r-- | Debian/Debhelper/Dh_Lib.pm | 4 |
1 files 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; |