summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-04-28 17:40:50 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-04-28 17:40:50 +0200
commitfb11075f497e5a7afe5837ae84a350fff9f93dc5 (patch)
treec5cc79322a40cd4b7bc21bc07162fbce6ce6feca /apt-pkg
parent8e0002ac420707b94a8a43dfedea7fc182dd5851 (diff)
use flAbsPath()
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/debindexfile.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc
index 1cecb42cf..86ef92bfb 100644
--- a/apt-pkg/deb/debindexfile.cc
+++ b/apt-pkg/deb/debindexfile.cc
@@ -673,8 +673,7 @@ APT_CONST bool debStatusIndex::Exists() const
debDebPkgFileIndex::debDebPkgFileIndex(std::string DebFile)
: pkgIndexFile(true), DebFile(DebFile)
{
- // FIXME: we need to os.normpath(DebFile) here, this is a lame workaround
- DebFileFullPath = SafeGetCWD() + DebFile;
+ DebFileFullPath = flAbsPath(DebFile);
}
std::string debDebPkgFileIndex::ArchiveURI(std::string /*File*/) const