From 2c0c4f15cb635335064db63a99671b7250bef6c7 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Tue, 3 Dec 2024 11:36:21 +0100 Subject: [PATCH] #3260 bashrc to bashrc_CreaTools --- .../bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index 48f80b9..468c1be 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -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 -- 2.47.1