X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftool.cpp;h=28523f677e57bd697d9b2b85ad39d9bcb9461747;hb=40ab4f61eaf7fc14fc6d1c2ea5eecee21882893a;hp=6e2b21431fc5d1808fef9fd691ccd83ff1bd3275;hpb=b2e460dcb3910bd59555fbf52aacb85b63f19cd1;p=builder.git diff --git a/source/tool.cpp b/source/tool.cpp index 6e2b214..28523f6 100644 --- a/source/tool.cpp +++ b/source/tool.cpp @@ -46,7 +46,7 @@ void Tool::prepare() if(!command.empty()) executable = builder.get_vfs().find_binary(command); do_prepare(); - if(!executable) + if(!command.empty() && !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));