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 (-3 / +6 lines)
Lines 83-90 __save_ebuild_env() { Link Here
83
	___eapi_has_usex && unset -f usex
83
	___eapi_has_usex && unset -f usex
84
84
85
	# Clear out the triple underscore namespace as it is reserved by the PM.
85
	# Clear out the triple underscore namespace as it is reserved by the PM.
86
	unset -f $(compgen -A function ___)
86
	while IFS=' ' read -r _ _ REPLY; do
87
	unset ${!___*}
87
		if [[ ${REPLY} == ___* ]]; then
88
			unset -f "${REPLY}"
89
		fi
90
	done < <(declare -F)
91
	unset -v REPLY "${!___@}"
88
92
89
	# portage config variables and variables set directly by portage
93
	# portage config variables and variables set directly by portage
90
	unset ACCEPT_LICENSE BUILD_PREFIX COLS \
94
	unset ACCEPT_LICENSE BUILD_PREFIX COLS \
91
- 

Return to bug 909148