]> git.saurik.com Git - apt.git/commitdiff
use flAbsPath()
authorMichael Vogt <mvo@ubuntu.com>
Mon, 28 Apr 2014 15:40:50 +0000 (17:40 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Mon, 28 Apr 2014 15:40:50 +0000 (17:40 +0200)
apt-pkg/deb/debindexfile.cc

index 1cecb42cf6886eb56916f9f1f3b45c74686c16eb..86ef92bfbc681b6a9a643ea010e943aa2eb4466b 100644 (file)
@@ -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