aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-23 03:25:50 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-23 03:25:50 +0000
commit25297c9a6543061bfc4a737f4d2f6c5bbfe022aa (patch)
tree9acc93ccae4c94f03f052a455a903ee89ff25a22
parent62cf2bb20465e265b7e714b14cabbf58a26ac35b (diff)
downloadpaludis-25297c9a6543061bfc4a737f4d2f6c5bbfe022aa.tar.gz
paludis-25297c9a6543061bfc4a737f4d2f6c5bbfe022aa.tar.xz
Pass CONFIG_PROTECT into hook env
-rw-r--r--paludis/repositories/gentoo/vdb_merger.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/vdb_merger.cc b/paludis/repositories/gentoo/vdb_merger.cc
index d987c40..e3e1ac9 100644
--- a/paludis/repositories/gentoo/vdb_merger.cc
+++ b/paludis/repositories/gentoo/vdb_merger.cc
@@ -86,7 +86,9 @@ VDBMerger::extend_hook(const Hook & h)
("PV", pv)
("PVR", pvr)
("PF", pn + "-" + pvr)
- ("SLOT", slot);
+ ("SLOT", slot)
+ ("CONFIG_PROTECT", _imp->options.config_protect)
+ ("CONFIG_PROTECT_MASK", _imp->options.config_protect_mask);
}
void