aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis
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/environments/paludis
parent52053348fd898ecbc2fe568db26259311a24d040 (diff)
downloadpaludis-099a4e90c07e655b98073d8386ef5abaeec55a04.tar.gz
paludis-099a4e90c07e655b98073d8386ef5abaeec55a04.tar.xz
paludis_command not used
Diffstat (limited to 'paludis/environments/paludis')
-rw-r--r--paludis/environments/paludis/paludis_config.cc2
-rw-r--r--paludis/environments/paludis/paludis_environment.cc14
-rw-r--r--paludis/environments/paludis/paludis_environment.hh5
3 files changed, 0 insertions, 21 deletions
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index decf0795f..1f9bc882b 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -170,7 +170,6 @@ namespace paludis
{
PaludisEnvironment * const env;
- std::string paludis_command;
std::string root;
std::string system_root;
std::string config_dir;
@@ -212,7 +211,6 @@ namespace paludis
Imp<PaludisConfig>::Imp(PaludisEnvironment * e) :
env(e),
- paludis_command("paludis"),
config_dir("(unset)"),
bashrc_files(std::make_shared<FSPathSequence>()),
local_config_dir("/"),
diff --git a/paludis/environments/paludis/paludis_environment.cc b/paludis/environments/paludis/paludis_environment.cc
index 5f0c6ba99..bfe9478f2 100644
--- a/paludis/environments/paludis/paludis_environment.cc
+++ b/paludis/environments/paludis/paludis_environment.cc
@@ -79,7 +79,6 @@ namespace paludis
mutable std::list<std::pair<FSPath, bool> > hook_dirs;
std::shared_ptr<PaludisConfig> config;
- std::string paludis_command;
std::shared_ptr<PackageDatabase> package_database;
@@ -95,7 +94,6 @@ namespace paludis
Imp(PaludisEnvironment * const e, std::shared_ptr<PaludisConfig> c) :
done_hooks(false),
config(c),
- paludis_command("paludis"),
package_database(std::make_shared<PackageDatabase>(e)),
format_key(std::make_shared<LiteralMetadataValueKey<std::string>>("format", "Format", mkt_significant, "paludis")),
config_location_key(std::make_shared<LiteralMetadataValueKey<FSPath>>("conf_dir", "Config dir", mkt_normal,
@@ -204,18 +202,6 @@ PaludisEnvironment::bashrc_files() const
return _imp->config->bashrc_files();
}
-std::string
-PaludisEnvironment::paludis_command() const
-{
- return _imp->paludis_command;
-}
-
-void
-PaludisEnvironment::set_paludis_command(const std::string & s)
-{
- _imp->paludis_command = s;
-}
-
HookResult
PaludisEnvironment::perform_hook(
const Hook & hook,
diff --git a/paludis/environments/paludis/paludis_environment.hh b/paludis/environments/paludis/paludis_environment.hh
index 14deb9b9b..29f93081c 100644
--- a/paludis/environments/paludis/paludis_environment.hh
+++ b/paludis/environments/paludis/paludis_environment.hh
@@ -100,11 +100,6 @@ namespace paludis
const std::shared_ptr<OutputManager> &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::string paludis_command() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual void set_paludis_command(const std::string &);
-
virtual std::shared_ptr<PackageDatabase> package_database()
PALUDIS_ATTRIBUTE((warn_unused_result));