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

Collapse All | Expand All

(-)a/libs/core.bash.in (-1 / +6 lines)
Lines 69-74 die() { Link Here
69
# Find module and echo its filename. Die if module doesn't exist.
69
# Find module and echo its filename. Die if module doesn't exist.
70
find_module() {
70
find_module() {
71
	local modname=$1 modpath
71
	local modname=$1 modpath
72
73
	if [[ ${modname} == *.eselect && -f ${modname} ]]; then
74
		echo "${modname}"
75
		return
76
	fi
77
72
	for modpath in "${ESELECT_MODULES_PATH[@]}"; do
78
	for modpath in "${ESELECT_MODULES_PATH[@]}"; do
73
		if [[ -f ${modpath}/${modname}.eselect ]]; then
79
		if [[ -f ${modpath}/${modname}.eselect ]]; then
74
			echo "${modpath}/${modname}.eselect"
80
			echo "${modpath}/${modname}.eselect"
75
- 

Return to bug 901205