aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/file_suffixes.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-20 18:57:57 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-20 18:57:57 +0000
commit42ed4b3ffb46932a7315c0b08a1cb27ad789a823 (patch)
treec4090aaf090c804ceba1c6c0cf68ee703fbd6669 /paludis/repositories/e/file_suffixes.cc
parent8815d142c5245fd3969f547eb76c233b767ff6ce (diff)
downloadpaludis-42ed4b3ffb46932a7315c0b08a1cb27ad789a823.tar.gz
paludis-42ed4b3ffb46932a7315c0b08a1cb27ad789a823.tar.xz
Move env var names into header
Diffstat (limited to 'paludis/repositories/e/file_suffixes.cc')
-rw-r--r--paludis/repositories/e/file_suffixes.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/repositories/e/file_suffixes.cc b/paludis/repositories/e/file_suffixes.cc
index c6d88b097..8a1be8b4a 100644
--- a/paludis/repositories/e/file_suffixes.cc
+++ b/paludis/repositories/e/file_suffixes.cc
@@ -18,6 +18,7 @@
*/
#include <paludis/repositories/e/file_suffixes.hh>
+
#include <paludis/util/pimp-impl.hh>
#include <paludis/util/singleton-impl.hh>
#include <paludis/util/config_file.hh>
@@ -25,6 +26,8 @@
#include <paludis/util/fs_path.hh>
#include <paludis/util/log.hh>
#include <paludis/util/options.hh>
+#include <paludis/util/env_var_names.hh>
+
#include <paludis/name.hh>
using namespace paludis;
@@ -38,7 +41,7 @@ namespace paludis
KeyValueConfigFile file;
Imp() :
- file(FSPath(getenv_with_default("PALUDIS_SUFFIXES_FILE", DATADIR "/paludis/ebuild_entries_suffixes.conf")),
+ file(FSPath(getenv_with_default(env_vars::suffixes_file, DATADIR "/paludis/ebuild_entries_suffixes.conf")),
{ }, &KeyValueConfigFile::no_defaults, &KeyValueConfigFile::no_transformation)
{
}