From 0784e62c446376bd036c441cdd4a93e7ccf8ebcb Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Thu, 26 Jan 2006 19:00:49 +0000 Subject: [PATCH] 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 --- gen_compile.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 } -- 2.26.2