]> git.decadent.org.uk Git - dak.git/commitdiff
Clearly seperate the various steps of dinstall in the log
authorJoerg Jaspert <joerg@debian.org>
Sun, 30 Aug 2015 21:25:03 +0000 (23:25 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 30 Aug 2015 21:25:03 +0000 (23:25 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/cron.dinstall

index 3d573b5bead39a010c1378bb5e75492be31b5656..4e8c1f2849bc73f1c42e12560710f1f311ed5277 100755 (executable)
@@ -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