From: Eric Edgar Date: Thu, 26 Jan 2006 19:00:49 +0000 (+0000) Subject: unset temp vars so they get cleaned up X-Git-Tag: v3.4.10.902~391 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0784e62c446376bd036c441cdd4a93e7ccf8ebcb;p=genkernel.git 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 --- diff --git a/gen_compile.sh b/gen_compile.sh index 38fa958..37bce6f 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -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 }