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

Collapse All | Expand All

(-)a/bin/save-ebuild-env.sh (-8 / +7 lines)
Lines 82-94 __save_ebuild_env() { Link Here
82
82
83
	___eapi_has_usex && unset -f usex
83
	___eapi_has_usex && unset -f usex
84
84
85
	# BEGIN PREFIX LOCAL: compgen is not compiled in during bootstrap
85
	# Clear out the triple underscore namespace as it is reserved by the PM.
86
	if type compgen >& /dev/null ; then
86
	while IFS=' ' read -r _ _ REPLY; do
87
		# Clear out the triple underscore namespace as it is reserved by the PM.
87
		if [[ ${REPLY} == ___* ]]; then
88
		unset -f $(compgen -A function ___)
88
			unset -f "${REPLY}"
89
		unset ${!___*}
89
		fi
90
	fi
90
	done < <(declare -F)
91
	# END PREFIX LOCAL
91
	unset -v REPLY "${!___@}"
92
92
93
	# portage config variables and variables set directly by portage
93
	# portage config variables and variables set directly by portage
94
	unset ACCEPT_LICENSE BUILD_PREFIX COLS \
94
	unset ACCEPT_LICENSE BUILD_PREFIX COLS \
95
- 

Return to bug 909148