aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-31 15:46:48 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-31 15:46:48 +0000
commit2645ee55c37e6278e2b03fe5fad75d49b94d4206 (patch)
tree83e56b6da27507144ba7308225b62d3bdbe689c7
parent49a5f95a5a2d22d213c951d8645999706acd5811 (diff)
downloadpaludis-2645ee55c37e6278e2b03fe5fad75d49b94d4206.tar.gz
paludis-2645ee55c37e6278e2b03fe5fad75d49b94d4206.tar.xz
More PortageEnvironment work
-rw-r--r--paludis/environments/portage/bashrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/environments/portage/bashrc b/paludis/environments/portage/bashrc
index 8fc9d63..6a30c3f 100644
--- a/paludis/environments/portage/bashrc
+++ b/paludis/environments/portage/bashrc
@@ -1,4 +1,7 @@
#!/bin/bash
-unset USE USE_EXPAND USE_EXPAND_HIDDEN ${USE_EXPAND}
+# ebuild.bash doesn't allow USE etc to be set in user settings. But we need
+# to source make.conf to pick up things like CFLAGS. So... After sourcing
+# make.conf, unset things that ebuild.bash disallows.
+unset ${save_vars}