summaryrefslogtreecommitdiffhomepage
path: root/vars/git.vars
blob: 73255a6b2ba1ca43ca71fbf3bb5766f5ac4f3ebf (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
		rtl_subst2 \$_fname \$_fname_new "::" ".";
		if ! rtl_fileop mv "${_fname}" "${_fname_new}"; then
			return 1;
		fi;
	done;
};

# vim:filetype=sh textwidth=0