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

Collapse All | Expand All

(-)a/bin/ebuild.sh (+8 lines)
Lines 35-40 unalias -a Link Here
35
# Unset some variables that break things.
35
# Unset some variables that break things.
36
unset GZIP BZIP BZIP2 CDPATH GREP_OPTIONS GREP_COLOR GLOBIGNORE
36
unset GZIP BZIP BZIP2 CDPATH GREP_OPTIONS GREP_COLOR GLOBIGNORE
37
37
38
# Some USE_EXPAND variables, such as LINGUAS, cause unwanted behavior when
39
# empty.  This should be handled via portage.config but it isn't currently
40
# designed to do so.
41
for x in ${USE_EXPAND}; do
42
	[ -z "${!x}" ] && unset ${x}
43
done
44
unset x
45
38
# We need this next line for "die" and "assert". It expands
46
# We need this next line for "die" and "assert". It expands
39
# It _must_ preceed all the calls to die and assert.
47
# It _must_ preceed all the calls to die and assert.
40
shopt -s expand_aliases
48
shopt -s expand_aliases

Return to bug 147428