- builder.get_logger().log("files", format("Traversing %s", *i));
- list<string> files = list_filtered(*i, "\\.bpk$");
- for(list<string>::const_iterator j=files.begin(); j!=files.end(); ++j)
- binpkg_files.push_back(*i / *j);
- builder.get_logger().log("packagemgr", format("%d binary packages found in %s", files.size(), *i));
+ builder.get_logger().log("files", format("Traversing %s", p));
+ vector<string> files = list_filtered(p, "\\.bpk$");
+ for(const string &f: files)
+ binpkg_files.push_back(p/f);
+ builder.get_logger().log("packagemgr", format("%d binary packages found in %s", files.size(), p));