]> git.tdb.fi Git - builder.git/blobdiff - source/binarypackage.cpp
Move the bpk files into a subdirectory and install them
[builder.git] / source / binarypackage.cpp
index 22a415457e75844e52e3c8675953e3e351c8338c..94667c989dede480f3b36afbddb04108f84881cb 100644 (file)
@@ -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;
        }