From fb11075f497e5a7afe5837ae84a350fff9f93dc5 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 28 Apr 2014 17:40:50 +0200 Subject: use flAbsPath() --- apt-pkg/deb/debindexfile.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apt-pkg/deb/debindexfile.cc') 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 -- cgit v1.2.3-70-g09d2