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

Collapse All | Expand All

(-)ebuild.sh (-2 / +4 lines)
Lines 83-96 Link Here
83
83
84
use() {
84
use() {
85
	local x
85
	local x
86
	for x in ${USE}; do
86
	for x in ${PUSE} ${USE}; do
87
		if [ "${x}" == "${1}" ]; then
87
		if [ "${x}" == "${1}" ]; then
88
			if [ -r /dev/fd/1 ]; then
88
			if [ -r /dev/fd/1 ]; then
89
				tty --quiet < /dev/stdout || echo "${x}"
89
				tty --quiet < /dev/stdout || echo "${x}"
90
			else
90
			else
91
			  echo "${x}"
91
				echo "${x}"
92
			fi
92
			fi
93
			return 0
93
			return 0
94
		elif [ "${x}" == "-${1}" ]; then
95
			return 1
94
		fi
96
		fi
95
	done
97
	done
96
	return 1
98
	return 1

Return to bug 13616