Commit 57ae0689b3a9d46f536cb11f903052e8ba096911

Thomas de Grivel 2023-02-15T12:58:18

wip shpkg_ci

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index c6dfbc1..b234cb4 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -817,7 +817,7 @@ shpkg_upgrade_shpkg () {
 #  running -> ko, ok
 # additionaly status will be changed to ko if aborted while running
 shpkg_ci_status () {
-    SHPKG_CI_STATUS="$(< "${SHPKG_CI_STATUS_DIR}/$1")"
+    SHPKG_CI_STATUS="$(cat "${SHPKG_CI_STATUS_DIR}/$1")"
     if [ "x$2" = "xrunning" ]; then
         verbose -n 1 "echo $2 > ${SHPKG_CI_STATUS_DIR}/$1"
         echo "$2" > "${SHPKG_CI_STATUS_DIR}/$1"