* add f to rm -r for when locale dir is not there
Package-Manager: Portage-2.3.11, Repoman-2.3.3
}
src_install() {
- if use server && ! use client; then
+ if use server && ! use client; then
cd gdb/gdbserver || die
fi
default
# Don't install docs when building a cross-gdb
if [[ ${CTARGET} != ${CHOST} ]] ; then
- rm -r "${ED}"/usr/share/{doc,info,locale} || die
+ rm -rf "${ED}"/usr/share/{doc,info,locale} || die
local f
for f in "${ED}"/usr/share/man/*/* ; do
if [[ ${f##*/} != ${CTARGET}-* ]] ; then