summaryrefslogtreecommitdiffhomepage
path: root/vars/invariants_gitref.vars
blob: 755656c3311e78f1a923fc9addc350d85f657219 (plain)
1
2
3
4
5
6
7
8
9
#
# set +o errexit -o noglob is assumed.
#

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

# vim:filetype=sh