X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fdatatool.cpp;h=eeeec4ea68b30706a670c6b84ffd0af98d64cfdf;hb=88e3ad4afa2010507227c0c0ffb9d1ce08f61e2a;hp=4a4fc8a0cd89360d875bc7682de8c8b02afc6cd5;hpb=9e28243c9687608ec3c32954b4031490296ae877;p=builder.git diff --git a/source/datatool.cpp b/source/datatool.cpp index 4a4fc8a..eeeec4e 100644 --- a/source/datatool.cpp +++ b/source/datatool.cpp @@ -1,6 +1,5 @@ #include #include -#include #include "builder.h" #include "component.h" #include "datacollection.h" @@ -50,9 +49,7 @@ Target *DataTool::create_target(const list &sources, const string &arg void DataTool::do_prepare() { - executable = builder.get_vfs().find_binary("mspdatatool"); - if(!executable) - builder.problem(string(), format("Can't find executable mspdatatool for tool %s", tag)); + set_executable("mspdatatool"); } Task *DataTool::run(const Target &tgt) const