aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/exheres_profile.cc
diff options
context:
space:
mode:
authorAvatar Bo ├śrsted Andresen <bo.andresen@zlin.dk> 2010-03-09 05:59:37 +0000
committerAvatar Bo ├śrsted Andresen <bo.andresen@zlin.dk> 2010-03-09 11:49:29 +0000
commit81633f02d9b43b010d82bb28759c49f3a7c0a601 (patch)
tree4c2ff13a996aa937fc2773b931fc92169de78f6d /paludis/repositories/e/exheres_profile.cc
parent53dee1d023f7e45cba0a45130b04a81e4129c46b (diff)
downloadpaludis-81633f02d9b43b010d82bb28759c49f3a7c0a601.tar.gz
paludis-81633f02d9b43b010d82bb28759c49f3a7c0a601.tar.xz
Fix parents handling in exheres-0.
Diffstat (limited to 'paludis/repositories/e/exheres_profile.cc')
-rw-r--r--paludis/repositories/e/exheres_profile.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/paludis/repositories/e/exheres_profile.cc b/paludis/repositories/e/exheres_profile.cc
index b3c6399..ca83384 100644
--- a/paludis/repositories/e/exheres_profile.cc
+++ b/paludis/repositories/e/exheres_profile.cc
@@ -74,6 +74,8 @@ namespace paludis
const Environment * const env;
const ERepository * const repository;
+ std::tr1::shared_ptr<FSEntrySequence> profiles_with_parents;
+
PaludisLikeOptionsConf options_conf;
EnvironmentVariablesMap environment_variables;
PackageMaskMap package_mask;
@@ -96,6 +98,7 @@ namespace paludis
const std::string &, const bool) :
env(e),
repository(p),
+ profiles_with_parents(new FSEntrySequence),
options_conf(make_named_values<PaludisLikeOptionsConfParams>(
value_for<n::allow_locking>(true),
value_for<n::environment>(e),
@@ -245,6 +248,14 @@ ExheresProfile::_load_dir(const FSEntry & f)
k != k_end ; ++k)
_imp->environment_variables[k->first] = k->second;
}
+
+ _imp->profiles_with_parents->push_back(f);
+}
+
+std::tr1::shared_ptr<const FSEntrySequence>
+ExheresProfile::profiles_with_parents() const
+{
+ return _imp->profiles_with_parents;
}
bool