diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2001-08-24 05:40:19 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2001-08-24 05:40:19 +0000 |
commit | 5de7164cef35e41cc436c6c5f9539f246036bcfd (patch) | |
tree | 10a017257c8ca5f583341b79e82f10dff8516be3 /scripts/bootstrap.sh | |
parent | added support ${MOUSEDEV} variable (diff) | |
download | gentoo-2-5de7164cef35e41cc436c6c5f9539f246036bcfd.tar.gz gentoo-2-5de7164cef35e41cc436c6c5f9539f246036bcfd.tar.bz2 gentoo-2-5de7164cef35e41cc436c6c5f9539f246036bcfd.zip |
bootstrap.sh fixups :)
Diffstat (limited to 'scripts/bootstrap.sh')
-rwxr-xr-x | scripts/bootstrap.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 535df71c7c9e..512020fa4fb5 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -14,6 +14,8 @@ echo "Using GCC $myGCC" echo "Using GETTEXT $myGETTEXT" echo "Using GLIBC $myGLIBC" +#USE may be set from the environment (recommended) so we back it up for later. +olduse="$USE" export USE="build" export CONFIG_PROTECT="" #above allows portage to overwrite stuff @@ -22,10 +24,9 @@ emerge $myPORTAGE || exit emerge $myGETTEXT || exit emerge $myBINUTILS || exit emerge $myGCC || exit -unset USE +export USE="$olduse" export USE="`spython -c 'import portage; print portage.settings["USE"];'` bootstrap" emerge $myGLIBC || exit emerge $myGETTEXT || exit emerge $myBINUTILS || exit emerge $myGCC || exit -unset USE |