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

(-)/usr/lib/portage/bin/etc-update (-1 / +2 lines)
Lines 60-66 Link Here
60
			rpath=$(echo "${file/\/\///}" | sed -e "s:/[^/]*$::")
60
			rpath=$(echo "${file/\/\///}" | sed -e "s:/[^/]*$::")
61
			rfile=$(echo "${file/\/\///}" | sed -e "s:^.*/::")
61
			rfile=$(echo "${file/\/\///}" | sed -e "s:^.*/::")
62
			for mpath in ${CONFIG_PROTECT_MASK}; do
62
			for mpath in ${CONFIG_PROTECT_MASK}; do
63
				mpath="${ROOT}${path}"
63
				mpath="${ROOT}${mpath}"
64
				mpath=$(echo ${mpath/\/\///})
64
				if [[ "${rpath}" == "${mpath}"* ]]; then
65
				if [[ "${rpath}" == "${mpath}"* ]]; then
65
					mv ${rpath}/${rfile} ${rpath}/${rfile:10}
66
					mv ${rpath}/${rfile} ${rpath}/${rfile:10}
66
					break
67
					break

Return to bug 166837