[debhelper-devel] [debhelper] 02/02: dh: Show when running the create-stamp "command"
Niels Thykier
nthykier at moszumanska.debian.org
Thu Jan 12 07:04:42 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 8ce63b49a1c6b44e7ebe9a92c2a1681f409d84a7
Author: Niels Thykier <niels at thykier.net>
Date: Thu Jan 12 07:03:56 2017 +0000
dh: Show when running the create-stamp "command"
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 1 +
dh | 2 ++
2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0ad2f44..6d201db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ debhelper (10.2.4) UNRELEASED; urgency=medium
* d/changelog: Add missing changelog entry in 10.2.3 for a
compat 11 change.
+ * dh: Show when the "create-stamp" "command" is being run.
-- Niels Thykier <niels at thykier.net> Thu, 12 Jan 2017 07:00:19 +0000
diff --git a/dh b/dh
index 87eae9d..bfa3ab6 100755
--- a/dh
+++ b/dh
@@ -725,6 +725,8 @@ foreach my $i (0..$stoppoint) {
}
if (my $stamp_file = stamp_target($command)) {
my %seen;
+ print " create-stamp ".escape_shell($stamp_file)."\n";
+
next if $dh{NO_ACT};
open(my $fd, '+>>', $stamp_file) or error("open($stamp_file, rw) failed: $!");
# Seek to the beginning
--
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