X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fexternalaction.cpp;h=5d01f4f701071fd4b330b26618b897899a59110d;hb=a2adbd9c0a8d7a7567848c4c6bdbf0de6ba32bb1;hp=54c9acc1274fed39f2b01c79aafeabdaa8d6d4bd;hpb=4c11e2a041d2064f44b7eb3dbf1976c35fc8881c;p=builder.git diff --git a/source/externalaction.cpp b/source/externalaction.cpp index 54c9acc..5d01f4f 100644 --- a/source/externalaction.cpp +++ b/source/externalaction.cpp @@ -7,7 +7,9 @@ Distributed under the LGPL #include #include -#include +#include +#include +#include #include "builder.h" #include "externalaction.h" @@ -71,7 +73,7 @@ void ExternalAction::launch() argv_[j]=0; if(!work_dir.empty()) - chdir(work_dir); + FS::chdir(work_dir); execvp(argv_[0], argv_); cout<<"Couldn't execute "<