diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildenv/buildenv.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildenv/buildenv.cc b/src/buildenv/buildenv.cc index f05aa7bf2fbb..eddb9fdaa8d2 100644 --- a/src/buildenv/buildenv.cc +++ b/src/buildenv/buildenv.cc @@ -115,9 +115,9 @@ static void addPkg(const Path & pkgDir, int priority) return; throw SysError(format("opening '%1%'") % propagatedFN); } - propagated = readLine(fd.get()); + propagated = readFile(fd.get()); } - for (const auto & p : tokenizeString<std::vector<string>>(propagated, " ")) + for (const auto & p : tokenizeString<std::vector<string>>(propagated, " \n")) if (done.find(p) == done.end()) postponed.insert(p); } |