X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkConfigurationFile.cxx;h=3721d79d259d9e4c0b6349ef868eeb2ea2473653;hb=7cc721b909aa07b7ec6f0eaf97b8cc61de6a15fc;hp=5731b70dcb5bacf40fe84ab85916515284d5f589;hpb=9f98df479679f8d3f4d63986f1e8a9921853e2b9;p=bbtk.git diff --git a/kernel/src/bbtkConfigurationFile.cxx b/kernel/src/bbtkConfigurationFile.cxx index 5731b70..3721d79 100644 --- a/kernel/src/bbtkConfigurationFile.cxx +++ b/kernel/src/bbtkConfigurationFile.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbtkConfigurationFile.cxx,v $ Language: C++ - Date: $Date: 2010/11/02 10:15:43 $ - Version: $Revision: 1.34 $ + Date: $Date: 2011/02/28 19:06:55 $ + Version: $Revision: 1.35 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -38,6 +38,8 @@ #include "bbtkXML.h" #include "bbtkUtilities.h" +#include "creaSystem.h" + #if defined(WIN32) # include // for getcwd # include @@ -343,8 +345,9 @@ namespace bbtk // ------------------ create some usefull strings ---------------- // installed bbtk_path - char bbtk_path[100]; - strcpy(bbtk_path, "/usr/local/bin"); + char bbtk_path[1000]; + strcpy(bbtk_path, Utilities::GetExecutablePath().c_str()); // JPR + //strcpy(bbtk_path, "/usr/local/bin"); // rootDirectory char rootDirectory[200];