]> Creatis software - bbtkGEditor.git/commitdiff
#3260 bashrc to bashrc_CreaTools vtk9itk5wx3-macos
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 3 Dec 2024 10:36:21 +0000 (11:36 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 3 Dec 2024 10:36:21 +0000 (11:36 +0100)
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx

index 48f80b994cc648b58a4aade2a10a3e91a570c30a..468c1be271cbd3d41e67f2dc22bb67db8b807ed9 100644 (file)
@@ -570,7 +570,7 @@ void wxGUIEditorGraphicBBS::executeScript(std::string script) {
 #endif
 
 #ifdef __APPLE__
-    command = "source ~/.bashrc ; "+command;
+    command = "source ~/.bashrc_CreaTools ; "+command;
 #endif
 
 
@@ -966,7 +966,7 @@ void wxGUIEditorGraphicBBS::OnSaveActualDiagram(wxCommandEvent& event) {
         {
             std::string pathfilenamepy = pathfilenamebbs;
             pathfilenamepy.replace( pathfilenamepy.length()-3, 3 , "py");
-            std::string cmdPy("source ~/.bashrc;  bbs2 "+pathfilenamebbs+" "+pathfilenamepy);
+            std::string cmdPy("source ~/.bashrc_CreaTools;  bbs2 "+pathfilenamebbs+" "+pathfilenamepy);
             printf("EED wxGUIEditorGraphicBBS::OnSaveActualDiagram cmd:%s\n", cmdPy.c_str() );
             system( cmdPy.c_str() );
         } // ExportFormat 1 or 2  All and Python
@@ -974,7 +974,7 @@ void wxGUIEditorGraphicBBS::OnSaveActualDiagram(wxCommandEvent& event) {
         {
             std::string pathfilenamejs = pathfilenamebbs;
             pathfilenamejs.replace( pathfilenamejs.length()-3, 3 , "js");
-            std::string cmdjs("source ~/.bashrc;  bbs2 "+pathfilenamebbs+" "+pathfilenamejs);
+            std::string cmdjs("source ~/.bashrc_CreaTools;  bbs2 "+pathfilenamebbs+" "+pathfilenamejs);
             printf("EED wxGUIEditorGraphicBBS::OnSaveActualDiagram cmd:%s\n", cmdjs.c_str() );
             system( cmdjs.c_str() );
         } // ExportFormat 1 or 3  All and JavaScript