summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-02-19 07:30:58 +0000
committerNiels Thykier <niels@thykier.net>2017-02-19 07:30:58 +0000
commitc7fbe36db02226e0fcdf1e1cf7660a653fb21b1d (patch)
treecdc1d5bea66d1258d44f2c1c43978afdacccd09f
parent6b05acdf097f3ff8c0e82f641c160f4f6ca29f67 (diff)
downloaddebhelper-c7fbe36db02226e0fcdf1e1cf7660a653fb21b1d.tar.gz
Dh_Lib: Tweak an error message
Signed-off-by: Niels Thykier <niels@thykier.net>
-rw-r--r--Debian/Debhelper/Dh_Lib.pm4
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;