From c1d7cc55c3b685d2a89eadc5d4445cbcaf928584 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Tue, 3 Dec 2024 11:40:24 +0100 Subject: [PATCH] #3396 bashrc to bashrc_CreaTools --- lib/creaDevManagerLib/modelCDMPackageSrc.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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())) -- 2.47.1