]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexfile.cc
reimplement build-dep via apts normal resolver
[apt.git] / apt-pkg / indexfile.cc
index dfd482c04d09544704012cac04c3d7cb083dbdc4..657cdfb365dc64fecbcd2105f77ab5d6169fafc8 100644 (file)
@@ -267,7 +267,9 @@ std::string pkgDebianIndexTargetFile::GetProgressDescription() const
 pkgDebianIndexRealFile::pkgDebianIndexRealFile(std::string const &pFile, bool const Trusted) :/*{{{*/
    pkgDebianIndexFile(Trusted), d(NULL)
 {
-   if (pFile == "/nonexistent/stdin")
+   if (pFile.empty())
+      ;
+   else if (pFile == "/nonexistent/stdin")
       File = pFile;
    else
       File = flAbsPath(pFile);