unset temp vars so they get cleaned up

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@361 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Eric Edgar 19 years ago
parent 86c522b339
commit 0784e62c44

@ -161,22 +161,27 @@ reset_args()
if [ "${ORIG_ARCH}" != '' ]
then
export ARCH="${ORIG_ARCH}"
unset ORIG_ARCH
fi
if [ "${ORIG_CC}" != '' ]
then
export CC="${ORIG_CC}"
unset ORIG_CC
fi
if [ "${ORIG_LD}" != '' ]
then
export LD="${ORIG_LD}"
unset ORIG_LD
fi
if [ "${ORIG_AS}" != '' ]
then
export AS="${ORIG_AS}"
unset ORIG_AS
fi
if [ "${ORIG_CROSS_COMPILE}" != '' ]
then
export CROSS_COMPILE="${ORIG_CROSS_COMPILE}"
unset ORIG_CROSS_COMPILE
fi
}

Loading…
Cancel
Save