Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 751421
Collapse All | Expand All

(-)06/bootstrap-prefix.sh (-2 / +2 lines)
Lines 708-715 Link Here
708
	# in Prefix the sed wrapper is deadly, so kill it
708
	# in Prefix the sed wrapper is deadly, so kill it
709
	rm -f "${ROOT}"/tmp/usr/lib/portage/bin/ebuild-helpers/sed
709
	rm -f "${ROOT}"/tmp/usr/lib/portage/bin/ebuild-helpers/sed
710
710
711
	local tmpportdir=${ROOT}/tmp/${PORTDIR#${ROOT}}
711
	local tmpportdir=${ROOT}/tmp/${PORTDIR#${ROOT}/}
712
	[[ -e "${tmpportdir}" ]] || ln -s "${PORTDIR}" "${tmpportdir}"
712
	[[ -e "${tmpportdir}" ]] || mkdir -p "${tmpportdir}" && rmdir "${tmpportdir}" && ln -s "${PORTDIR}" "${tmpportdir}"
713
	for d in "${ROOT}"/tmp/usr/lib/python?.?; do
713
	for d in "${ROOT}"/tmp/usr/lib/python?.?; do
714
		[[ -e ${d}/portage ]] || ln -s "${ROOT}"/tmp/usr/lib/portage/lib/portage ${d}/portage
714
		[[ -e ${d}/portage ]] || ln -s "${ROOT}"/tmp/usr/lib/portage/lib/portage ${d}/portage
715
		[[ -e ${d}/_emerge ]] || ln -s "${ROOT}"/tmp/usr/lib/portage/lib/_emerge ${d}/_emerge
715
		[[ -e ${d}/_emerge ]] || ln -s "${ROOT}"/tmp/usr/lib/portage/lib/_emerge ${d}/_emerge

Return to bug 751421