aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-20 20:54:41 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-20 20:55:44 +0000
commitc10e587ad284a598803ca161001f1f332f43197a (patch)
treebba8d90c159d52ae89e9f270d18c831a7c1ee67e
parente48dc64d5153f99cb7492186af710644a1f2c301 (diff)
downloadpaludis-c10e587ad284a598803ca161001f1f332f43197a.tar.gz
paludis-c10e587ad284a598803ca161001f1f332f43197a.tar.xz
Missing env_vars
-rw-r--r--paludis/python_hooks.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/python_hooks.cc b/paludis/python_hooks.cc
index 58853cf..ebe8001 100644
--- a/paludis/python_hooks.cc
+++ b/paludis/python_hooks.cc
@@ -13,6 +13,7 @@
#include <paludis/util/mutex.hh>
#include <paludis/util/sequence.hh>
#include <paludis/util/make_named_values.hh>
+#include <paludis/util/env_var_names.hh>
#include <set>
@@ -111,7 +112,7 @@ PyHookFile::PyHookFile(const FSPath & f, const bool r, const Environment * const
_format_exception = traceback_namespace["format_exception"];
bp::exec_file(
- (getenv_with_default("PALUDIS_PYTHON_DIR", PYTHONINSTALLDIR)
+ (getenv_with_default(env_vars::python_dir, PYTHONINSTALLDIR)
+ "/paludis_output_wrapper.py").c_str(),
_output_wrapper_namespace, _output_wrapper_namespace);
bp::import("paludis");