summaryrefslogtreecommitdiffhomepage
path: root/dist/dist_gitref.dist
blob: 69bee048c4e86e83bf08c122852b300dc427fcf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# set +o errexit -o noglob -o nounset is assumed.
#

pkg_dist_gitref_all() {
	local _pdga_group_name="${1}" _pdga_pkg_name="${2}" _pdga_restart_at="${3}";

	(rtl_fileop cd "${MIDIPIX_BUILD_PWD}" &&\
	 git rev-parse HEAD > "${PREFIX}/build.gitref");
	return "${?}";
};

# vim:filetype=sh textwidth=0