diff options
Diffstat (limited to 'dist/dist_gitref.dist')
-rw-r--r-- | dist/dist_gitref.dist | 8 |
1 files changed, 7 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 |