FS::Path PackageManager::get_package_location(const string &name)
{
- builder.get_logger().log("packagemgr", format("Looking for package %s", name));
+ builder.get_logger().log("packagemgr", format("Looking for source package %s", name));
try
{
{
builder.get_logger().log("files", format("Traversing %s", *i));
list<string> files = list_files(*i);
+ unsigned count = 0;
for(list<string>::const_iterator j=files.begin(); j!=files.end(); ++j)
{
FS::Path full = *i / *j;
if(FS::exists(full/"Build"))
+ {
pkg_dirs.push_back(full);
+ ++count;
+ }
}
+
+ builder.get_logger().log("packagemgr", format("%d source packages found in %s", count, *i));
}
- builder.get_logger().log("packagemgr", format("%d packages found in path", pkg_dirs.size()));
+
+ builder.get_logger().log("packagemgr", format("%d source packages found", pkg_dirs.size()));
}
bool msp = !name.compare(0, 3, "msp");