Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 303919 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +3 lines)
Line  Link Here
0
-- bin/ebuild-helpers/doman
0
++ bin/ebuild-helpers/doman
Lines 31-43 Link Here
31
		suffix=${realname##*.}
31
		suffix=${realname##*.}
32
	fi
32
	fi
33
33
34
	if ! hasq "${EAPI:-0}" 0 1 && \
34
	if [[ -z ${i18n} ]] && ! hasq "${EAPI:-0}" 0 1 && \
35
		[[ $x =~ (.*)\.([a-z][a-z](_[A-Z][A-Z])?)\.(.*) ]] ; then
35
		[[ $x =~ (.*)\.([a-z][a-z](_[A-Z][A-Z])?)\.(.*) ]] ; then
36
		name=${BASH_REMATCH[1]##*/}.${BASH_REMATCH[4]}
36
		name=${BASH_REMATCH[1]##*/}.${BASH_REMATCH[4]}
37
		mandir=${BASH_REMATCH[2]}/man${suffix:0:1}
37
		mandir=${BASH_REMATCH[2]}/man${suffix:0:1}
38
	else
38
	else
39
		name=${x##*/}
39
		name=${x##*/}
40
		mandir=${i18n}man${suffix:0:1}
40
		mandir=${i18n#/}man${suffix:0:1}
41
	fi
41
	fi
42
42
43
43

Return to bug 303919