summaryrefslogtreecommitdiffhomepage
path: root/dist
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-02-20 05:45:35 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-02-20 05:45:35 +0100
commit8857c4d642f6bd13b7bfe0876a2f526980115717 (patch)
tree968563fb84d53bdac332d02539b3f9144aa39dad /dist
parent6370befc90e3cd9832eec9cad9cac5381ae252be (diff)
downloadmidipix_build-8857c4d642f6bd13b7bfe0876a2f526980115717.tar.bz2
midipix_build-8857c4d642f6bd13b7bfe0876a2f526980115717.tar.xz
dist/*.dist: correctly set "finish" package state.
Diffstat (limited to 'dist')
-rw-r--r--dist/dist_gitref.dist8
-rw-r--r--dist/dist_minipix.dist3
-rw-r--r--dist/dist_zipdist.dist3
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;
};