aboutsummaryrefslogtreecommitdiff
path: root/paludis/hooker.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-25 20:12:33 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-26 19:00:37 +0000
commit099a4e90c07e655b98073d8386ef5abaeec55a04 (patch)
tree0189b35286f6ccd7a341722025b047f91715420e /paludis/hooker.cc
parent52053348fd898ecbc2fe568db26259311a24d040 (diff)
downloadpaludis-099a4e90c07e655b98073d8386ef5abaeec55a04.tar.gz
paludis-099a4e90c07e655b98073d8386ef5abaeec55a04.tar.xz
paludis_command not used
Diffstat (limited to 'paludis/hooker.cc')
-rw-r--r--paludis/hooker.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/paludis/hooker.cc b/paludis/hooker.cc
index 88123e14d..3aa1dc2fb 100644
--- a/paludis/hooker.cc
+++ b/paludis/hooker.cc
@@ -178,8 +178,7 @@ BashHookFile::run(
.setenv("HOOK_LOG_LEVEL", stringify(Log::get_instance()->log_level()))
.setenv("PALUDIS_EBUILD_DIR", getenv_with_default(env_vars::ebuild_dir, LIBEXECDIR "/paludis"))
.setenv("PALUDIS_REDUCED_GID", stringify(_env->reduced_gid()))
- .setenv("PALUDIS_REDUCED_UID", stringify(_env->reduced_uid()))
- .setenv("PALUDIS_COMMAND", _env->paludis_command());
+ .setenv("PALUDIS_REDUCED_UID", stringify(_env->reduced_uid()));
if (hook.output_dest == hod_stdout && _run_prefixed)
process
@@ -240,8 +239,7 @@ FancyHookFile::run(const Hook & hook,
.setenv("HOOK_LOG_LEVEL", stringify(Log::get_instance()->log_level()))
.setenv("PALUDIS_EBUILD_DIR", getenv_with_default(env_vars::ebuild_dir, LIBEXECDIR "/paludis"))
.setenv("PALUDIS_REDUCED_GID", stringify(_env->reduced_gid()))
- .setenv("PALUDIS_REDUCED_UID", stringify(_env->reduced_uid()))
- .setenv("PALUDIS_COMMAND", _env->paludis_command());
+ .setenv("PALUDIS_REDUCED_UID", stringify(_env->reduced_uid()));
if (hook.output_dest == hod_stdout && _run_prefixed)
process
@@ -301,8 +299,7 @@ FancyHookFile::auto_hook_names() const
.setenv("HOOK_LOG_LEVEL", stringify(Log::get_instance()->log_level()))
.setenv("PALUDIS_EBUILD_DIR", getenv_with_default(env_vars::ebuild_dir, LIBEXECDIR "/paludis"))
.setenv("PALUDIS_REDUCED_GID", stringify(_env->reduced_gid()))
- .setenv("PALUDIS_REDUCED_UID", stringify(_env->reduced_uid()))
- .setenv("PALUDIS_COMMAND", _env->paludis_command());
+ .setenv("PALUDIS_REDUCED_UID", stringify(_env->reduced_uid()));
int exit_status(0);
std::string output("");
@@ -360,8 +357,7 @@ FancyHookFile::_add_dependency_class(const Hook & hook, DirectedGraph<std::strin
.setenv("HOOK_LOG_LEVEL", stringify(Log::get_instance()->log_level()))
.setenv("PALUDIS_EBUILD_DIR", getenv_with_default(env_vars::ebuild_dir, LIBEXECDIR "/paludis"))
.setenv("PALUDIS_REDUCED_GID", stringify(_env->reduced_gid()))
- .setenv("PALUDIS_REDUCED_UID", stringify(_env->reduced_uid()))
- .setenv("PALUDIS_COMMAND", _env->paludis_command());
+ .setenv("PALUDIS_REDUCED_UID", stringify(_env->reduced_uid()));
process.prefix_stderr(strip_trailing_string(file_name().basename(), ".bash") + "> ");