dyn_package() when portage 2.1.x is installing portage-2.2 and temp
python module files from doins are imported instead of the expected
ones. (trunk r9628)
svn path=/main/branches/2.1.2/; revision=9629
[[ ! -d ${D}${INSDESTTREE} ]] && dodir "${INSDESTTREE}"
_doins() {
- local mysrc="$1" mydir="$2"
+ local mysrc="$1" mydir="$2" cleanup=""
if [ -L "$mysrc" ] ; then
cp "$mysrc" "${T}"
mysrc="${T}/${mysrc##*/}"
+ cleanup=${mysrc}
fi
install ${INSOPTIONS} "${mysrc}" "${D}${INSDESTTREE}/${mydir}"
+ [[ -n ${cleanup} ]] && rm -f "${cleanup}"
}
_xdoins() {