]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkExecuter.cxx
Created 2 applis :
[bbtk.git] / kernel / src / bbtkExecuter.cxx
index f8d71a28d9f0629e8b6fb8c89160e46c081d2195..86757deaa63483f1c66c03152b9cbf8f99cdb786 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkExecuter.cxx,v $ $
   Language:  C++
-  Date:      $Date: 2008/07/01 07:58:28 $
-  Version:   $Revision: 1.21 $
+  Date:      $Date: 2008/10/08 10:56:27 $
+  Version:   $Revision: 1.22 $
 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -506,23 +506,23 @@ namespace bbtk
     // No output provided : automatic generation
     if (output_html.length() == 0)
       {
-       // Don't pollute the file store with  "temp_dir" directories ...    
-       std::string default_doc_dir = ConfigurationFile::GetInstance().Get_default_temp_dir();
+               // Don't pollute the file store with  "temp_dir" directories ...    
+               std::string default_doc_dir = ConfigurationFile::GetInstance().Get_default_temp_dir();
        
-       char c = default_doc_dir.c_str()[strlen(default_doc_dir.c_str())-1];
+               char c = default_doc_dir.c_str()[strlen(default_doc_dir.c_str())-1];
        
-       std::string directory = default_doc_dir; 
-       if (c != '/' && c !='\\') directory = directory + "/";
-       directory = directory +  "temp_dir";    
+               std::string directory = default_doc_dir; 
+               if (c != '/' && c !='\\') directory = directory + "/";
+               directory = directory +  "temp_dir";    
        
-       filename_rootHtml = directory + "/" + "User.html";
-       simplefilename_rootHtml = "User.html" ;
+               filename_rootHtml = directory + "/" + "User.html";
+               simplefilename_rootHtml = "User.html" ;
 
-       // Creating directory
-       std::string command0("mkdir \"" +directory + "\"");
-       system( command0.c_str() );
+               // Creating directory
+               std::string command0("mkdir \"" +directory + "\"");
+               system( command0.c_str() );
 
-       relative_link = false;
+               relative_link = false;
       }
 
     Package::Pointer p;