pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/internal In the status and error messages, say _whi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8fe337b3df89
branches: trunk
changeset: 521298:8fe337b3df89
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Nov 09 02:11:44 2006 +0000
description:
In the status and error messages, say _which_ lock is being held by
another process. It's a little more verbose now, but it helps
understanding what goes on.
diffstat:
mk/internal/locking.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 47fa24cd12ef -r 8fe337b3df89 mk/internal/locking.mk
--- a/mk/internal/locking.mk Thu Nov 09 02:07:59 2006 +0000
+++ b/mk/internal/locking.mk Thu Nov 09 02:11:44 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: locking.mk,v 1.2 2006/08/04 20:52:27 rillig Exp $
+# $NetBSD: locking.mk,v 1.3 2006/11/09 02:11:44 rillig Exp $
#
# This file provides the following .USE targets:
@@ -77,10 +77,10 @@
fi; \
lockpid=`${CAT} "$$lockfile"`; \
case ${PKGSRC_LOCKTYPE:Q}"" in \
- once) ${ERROR_MSG} "Lock is held by pid $$lockpid"; \
+ once) ${ERROR_MSG} "Lock ${.TARGET} is held by pid $$lockpid"; \
exit 1; \
;; \
- sleep) ${STEP_MSG} "Lock is held by pid $$lockpid"; \
+ sleep) ${STEP_MSG} "Lock ${.TARGET} is held by pid $$lockpid"; \
${SLEEP} ${PKGSRC_SLEEPSECS}; \
;; \
esac; \
Home |
Main Index |
Thread Index |
Old Index