From: eduardo.davila@creatis.insa-lyon.fr Date: Tue, 3 Dec 2024 10:40:24 +0000 (+0100) Subject: #3396 bashrc to bashrc_CreaTools X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=refs%2Fheads%2Fvtk9itk5wx3-macos;p=crea.git #3396 bashrc to bashrc_CreaTools --- diff --git a/lib/creaDevManagerLib/modelCDMPackageSrc.cpp b/lib/creaDevManagerLib/modelCDMPackageSrc.cpp index fcfe2f3..b9f9da2 100644 --- a/lib/creaDevManagerLib/modelCDMPackageSrc.cpp +++ b/lib/creaDevManagerLib/modelCDMPackageSrc.cpp @@ -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()))