From: Joerg Jaspert Date: Sun, 30 Aug 2015 21:25:03 +0000 (+0200) Subject: Clearly seperate the various steps of dinstall in the log X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=704479b16c0ad29ae2eaa41855f52a623dac1761;p=dak.git Clearly seperate the various steps of dinstall in the log Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 3d573b5b..4e8c1f28 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