]> git.tdb.fi Git - builder.git/blobdiff - source/tool.cpp
Store problems at their source rather than globally
[builder.git] / source / tool.cpp
index 65a45041286e6a054649461bd65770cccc614d69..8aa75dcafd982646980871b59ff74c796d5a00ca 100644 (file)
@@ -56,7 +56,7 @@ void Tool::set_executable(const string &command, bool cross)
 
        executable = builder.get_vfs().find_binary(command);
        if(!executable)
-               builder.problem(string(), format("Can't find executable %s for tool %s", command, tag));
+               problems.push_back(format("Can't find executable %s", command));
 }