X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarypackage.cpp;h=94667c989dede480f3b36afbddb04108f84881cb;hb=6382743d26f8d5bb10a53cb907659bee6614b549;hp=22a415457e75844e52e3c8675953e3e351c8338c;hpb=08015c0f27f377fcd4aa186fca5bd8cf70723a5a;p=builder.git diff --git a/source/binarypackage.cpp b/source/binarypackage.cpp index 22a4154..94667c9 100644 --- a/source/binarypackage.cpp +++ b/source/binarypackage.cpp @@ -60,7 +60,7 @@ void BinaryPackage::do_prepare() *j = prefix/ *j; for(HeaderList::const_iterator j=headers.begin(); j!=headers.end(); ++j) - all_found &= (builder.get_vfs().find_header(*j, incpath, system)!=0); + all_found &= (builder.get_vfs().find_header(*j, 0, incpath, system)!=0); if(all_found) { @@ -72,7 +72,8 @@ void BinaryPackage::do_prepare() if(base_path.empty()) { - builder.problem(name, "Cannot locate files"); + // TODO report which files were not found + problems.push_back("Cannot locate files"); return; }