Commit 4f39ea0598b5764d6cb9c81dc193a5f6db343598

Thomas de Grivel 2023-02-15T12:38:39

verbose ci status

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index 98a9895..2082c84 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -818,9 +818,11 @@ shpkg_upgrade_shpkg () {
 # additionaly status will be changed to ko if aborted while running
 shpkg_ci_status () {
     if [ "x$2" = "xrunning" ]; then
+        verbose -n 1 "echo $2 > ${SHPKG_CI_STATUS_DIR}/$1"
         echo "$2" > "${SHPKG_CI_STATUS_DIR}/$1"
         trap "shpkg_ci_status_trap $1" EXIT
     elif [ "x$(< "${SHPKG_CI_STATUS_DIR}/$1")" = "xrunning" ]; then
+        verbose -n 1 "echo $2 > ${SHPKG_CI_STATUS_DIR}/$1"
         echo "$2" > "${SHPKG_CI_STATUS_DIR}/$1"
     fi
 }