diff options
-rw-r--r-- | dist/dist_gitref.dist | 8 | ||||
-rw-r--r-- | dist/dist_minipix.dist | 3 | ||||
-rw-r--r-- | dist/dist_zipdist.dist | 3 |
3 files changed, 13 insertions, 1 deletions
diff --git a/dist/dist_gitref.dist b/dist/dist_gitref.dist index 5beec695..5a671dc1 100644 --- a/dist/dist_gitref.dist +++ b/dist/dist_gitref.dist @@ -8,7 +8,13 @@ pkg_dist_gitref_all() { (rtl_fileop cd "${MIDIPIX_BUILD_PWD}" &&\ git rev-parse HEAD > "${PREFIX}/build.gitref"); - return "${?}"; + if [ "${?}" -eq 0 ]; then + printf "step ${_pdga_group_name} ${_pdga_pkg_name} finish\n" >&3; + ex_pkg_state_set "${_pdga_pkg_name}" "finish"; + return 0; + else + return 1; + fi; }; # vim:filetype=sh textwidth=0 diff --git a/dist/dist_minipix.dist b/dist/dist_minipix.dist index eab7b297..8f6d2024 100644 --- a/dist/dist_minipix.dist +++ b/dist/dist_minipix.dist @@ -94,6 +94,9 @@ pkg_dist_minipix_all() { return 1; fi; + printf "step ${_pdma_group_name} ${_pdma_pkg_name} finish\n" >&3; + ex_pkg_state_set "${_pdma_pkg_name}" "finish"; + return 0; }; diff --git a/dist/dist_zipdist.dist b/dist/dist_zipdist.dist index 4ce1c1bc..3eb249aa 100644 --- a/dist/dist_zipdist.dist +++ b/dist/dist_zipdist.dist @@ -63,6 +63,9 @@ pkg_dist_zipdist_all() { rtl_log_msg "zipdist" "${MSG_zipdist_signed}"; fi; + printf "step ${_pdza_group_name} ${_pdza_pkg_name} finish\n" >&3; + ex_pkg_state_set "${_pdza_pkg_name}" "finish"; + return 0; }; |