summaryrefslogtreecommitdiffhomepage
path: root/vars/git.vars
blob: bcdda80b2ea1f32b34a3fa435360436211750377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# set +o errexit -o noglob -o nounset is assumed.
#

pkg_git_install_make_post() {
	local _fname="" _fname_new="";
	for _fname in $(find "${PKG_DESTDIR}" -name "Git*::*" -type f); do
		_fname_new="$(rtl_subst "${_fname}" "::" ".")";
		if ! rtl_fileop mv "${_fname}" "${_fname_new}"; then
			return 1;
		fi;
	done;
};

# vim:filetype=sh textwidth=0