return;
prepared = true;
+ if(!command.empty())
+ executable = builder.get_vfs().find_binary(command);
do_prepare();
- if(!executable && !command.empty())
+ if(!executable)
{
- executable = builder.get_vfs().find_binary(command);
- if(!executable)
- {
- builder.get_logger().log("problems", "Can't find executable %s for %s", command, tag);
- problems.push_back(format("Can't find executable %s", command));
- }
+ builder.get_logger().log("problems", "Can't find executable %s for %s", command, tag);
+ problems.push_back(format("Can't find executable %s", command));
}
}