[dak/master] Clearly seperate the various steps of dinstall in the log
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
config/debian/cron.dinstall | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall
index 3d573b5..4e8c1f2 100755
--- a/config/debian/cron.dinstall
+++ b/config/debian/cron.dinstall
@@ -74,6 +74,8 @@ function stage() {
error=${ERR:-"true"}
ARGS=${ARGS:-""}
+
+ log "########## DINSTALL BEGIN: ${FUNC} ${ARGS} ##########"
STAGEFILE="${stagedir}/${FUNC}_${ARGS}"
STAGEFILE=${STAGEFILE// /_}
if [ -f "${STAGEFILE}" ]; then
@@ -132,6 +134,8 @@ function stage() {
cat "${STAGEFILE}.log" >> "${LOGFILE}"
rm -f "${STAGEFILE}.log"
+ echo "########## DINSTALL END: ${FUNC} ##########"
+
if [ -f "${LOCK_STOP}" ]; then
log "${LOCK_STOP} exists, exiting immediately"
exit 42
--
2.1.4
Reply to: