]> Creatis software - bbtkGEditor.git/commitdiff
#3247 bug profile_creatools in Linux/Win32
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 16 Nov 2021 14:12:09 +0000 (15:12 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 16 Nov 2021 14:12:09 +0000 (15:12 +0100)
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx

index 1a1357df14f1078d89b37dade99e58831b673818..ff0444a5292e9063bdc2cc833758b5d8e71f97a4 100644 (file)
@@ -568,7 +568,7 @@ void wxGUIEditorGraphicBBS::executeScript(std::string script) {
        command += " & ";
 #endif
 
-#ifndef APPLE
+#ifdef __APPLE__
     command = "source ~/.bbtk/profile_creatools; "+command;
 #endif