aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2007-05-18 21:16:32 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2007-05-18 21:16:32 +0000
commit84c374b19d924b16932036eb027cc9819b46e451 (patch)
tree15b97d03dd05bd4c792c5f90ce0a2ee47df3ebc6
parent71c030417c39bbc42f4677eb025aa0b122289b6b (diff)
downloadpaludis-84c374b19d924b16932036eb027cc9819b46e451.tar.gz
paludis-84c374b19d924b16932036eb027cc9819b46e451.tar.xz
Allow us to use symlinks in a paludis config dir instead of just regular files.
-rw-r--r--paludis/environments/paludis/paludis_config.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index af4a5eb..ac5c200 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -384,7 +384,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
{
Context local_context("When reading keywords file '" + stringify(*file) + "':");
- if (! file->is_regular_file())
+ if (! file->exists())
continue;
_imp->keywords_conf->add(*file);
@@ -409,7 +409,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
{
Context local_context("When reading use file '" + stringify(*file) + "':");
- if (! file->is_regular_file())
+ if (! file->exists())
continue;
_imp->use_conf->add(*file);
@@ -434,7 +434,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
{
Context local_context("When reading licenses file '" + stringify(*file) + "':");
- if (! file->is_regular_file())
+ if (! file->exists())
continue;
_imp->licenses_conf->add(*file);
@@ -459,7 +459,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
{
Context local_context("When reading package_mask file '" + stringify(*file) + "':");
- if (! file->is_regular_file())
+ if (! file->exists())
continue;
_imp->package_mask_conf->add(*file);
@@ -484,7 +484,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
{
Context local_context("When reading package_unmask file '" + stringify(*file) + "':");
- if (! file->is_regular_file())
+ if (! file->exists())
continue;
_imp->package_unmask_conf->add(*file);
@@ -509,7 +509,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
{
Context local_context("When reading mirrors file '" + stringify(*file) + "':");
- if (! file->is_regular_file())
+ if (! file->exists())
continue;
_imp->mirrors_conf->add(*file);