]> Creatis software - crea.git/commitdiff
#3396 bashrc to bashrc_CreaTools vtk9itk5wx3-macos
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 3 Dec 2024 10:40:24 +0000 (11:40 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 3 Dec 2024 10:40:24 +0000 (11:40 +0100)
lib/creaDevManagerLib/modelCDMPackageSrc.cpp

index fcfe2f3b6fb47f5d30f8fd1b165eafe72852e9c7..b9f9da277b625e39e91cfab6bc9fc8eabcca8890 100644 (file)
@@ -231,11 +231,15 @@ modelCDMBlackBox* modelCDMPackageSrc::CreateBlackBox(
   command += " \"" + bbDescription + "\"";
   command += " \"" + bbCategories + "\"";
 
-    
-#ifdef __APPLE__
-    command = "source ~/.bashrc ; " + command;
+//#ifdef __APPLE__
+//    command = "source ~/.bashrc ; " + command;
+//#endif
+
+#ifdef _WIN32
+#else
+    command = "source ~/.bashrc_CreaTools ; " + command;
 #endif
-    
+
   //excecute command
 //  wxMessageBox(crea::std2wx("Command: ->" + command + "<-"),_T("Creating Black Box"),wxOK | wxICON_INFORMATION);
   if(system(command.c_str()))