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

Collapse All | Expand All

(-)a/bin/eselect.in (-3 / +7 lines)
Lines 56-64 shopt -s extglob Link Here
56
shopt -s expand_aliases
56
shopt -s expand_aliases
57
57
58
# Save stderr file descriptor
58
# Save stderr file descriptor
59
# exec {ESELECT_STDERR}>&2		# >=bash-4.1
59
if (( BASH_VERSINFO[0] == 4 && BASH_VERSINFO[1] >= 1 || BASH_VERSINFO[0] > 4 ))
60
exec 3>&2
60
then
61
ESELECT_STDERR=3
61
	exec {ESELECT_STDERR}>&2
62
else
63
	exec 3>&2
64
	ESELECT_STDERR=3
65
fi
62
66
63
# Load core functions
67
# Load core functions
64
source "${ESELECT_CORE_PATH}/core.bash" || exit 255
68
source "${ESELECT_CORE_PATH}/core.bash" || exit 255

Return to bug 475284