in the environment. (trunk r8573)
svn path=/main/branches/2.1.2/; revision=8574
}
unpack() {
+ local srcdir
local x
local y
local myfail
fi
if [ -d "${S}" ]; then
srcdir=${S}
- cd "${S}"
else
- cd "${WORKDIR}"
+ srcdir=${WORKDIR}
fi
+ cd "${srcdir}"
#our custom version of libtool uses $S and $D to fix
#invalid paths in .la files
export S D
cd build-info
set -f
+ local f
for f in ASFLAGS CATEGORY CBUILD CC CFLAGS CHOST CTARGET CXX \
CXXFLAGS DEPEND EXTRA_ECONF EXTRA_EINSTALL EXTRA_MAKE \
FEATURES INHERITED IUSE LDFLAGS LIBCFLAGS LIBCXXFLAGS \
echo "${EAPI:-0}" > EAPI
set +f
+ # local variables can leak into the saved environment.
+ unset f srcdir
save_ebuild_env > environment
bzip2 -f9 environment