summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp/edspsystem.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-04-23 18:24:19 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-04-23 18:24:19 +0200
commitecdc4e74bc5ba7eadeff3276bc3707c127d9989c (patch)
tree346e7093dcdd63d2358bb05452359486c8e5e75c /apt-pkg/edsp/edspsystem.cc
parent074da0970c68879d548b6b4f64d0da7f38151248 (diff)
* edsp/edspsystem.cc:
- check with RealFileExists for scenario file as otherwise a directory like one provided with RootDir triggers the usage of EDSP
Diffstat (limited to 'apt-pkg/edsp/edspsystem.cc')
-rw-r--r--apt-pkg/edsp/edspsystem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/edsp/edspsystem.cc b/apt-pkg/edsp/edspsystem.cc
index 6b9207451..aae969d9d 100644
--- a/apt-pkg/edsp/edspsystem.cc
+++ b/apt-pkg/edsp/edspsystem.cc
@@ -91,7 +91,7 @@ signed edspSystem::Score(Configuration const &Cnf)
{
if (Cnf.Find("edsp::scenario", "") == "stdin")
return 1000;
- if (FileExists(Cnf.FindFile("edsp::scenario","")) == true)
+ if (RealFileExists(Cnf.FindFile("edsp::scenario","")) == true)
return 1000;
return -1000;
}