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=c1d7cc55c3b685d2a89eadc5d4445cbcaf928584;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()))