unset temp vars so they get cleaned up
authorEric Edgar <rocket@gentoo.org>
Thu, 26 Jan 2006 19:00:49 +0000 (19:00 +0000)
committerEric Edgar <rocket@gentoo.org>
Thu, 26 Jan 2006 19:00:49 +0000 (19:00 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@361 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_compile.sh

index 38fa958003d9e97105a443e54e2dcb9ea6d609e0..37bce6f06fbb1b59bc580e5f352573fa1b8ca000 100644 (file)
@@ -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
 }