From: rnv Date: Thu, 15 Sep 2016 11:01:47 +0000 (+0300) Subject: Fix for '23344: [CEA 1950] Hybrid doesn't work on Windows' issue. X-Git-Tag: V8_1_0rc1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=84eef59129eb3cad75b1379afc6a3c6d622af76f;p=plugins%2Fhybridplugin.git Fix for '23344: [CEA 1950] Hybrid doesn't work on Windows' issue. --- diff --git a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx index 8cca352..7eaae44 100644 --- a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx +++ b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx @@ -1931,7 +1931,11 @@ std::string HYBRIDPlugin_Hypothesis::GetFileName(const HYBRIDPlugin_Hypothesis* std::string HYBRIDPlugin_Hypothesis::GetExeName() { //call mg-hybrid.bash is script which assumes new project version(s) mg-hybrid.exe in the prerequisite base and special? licence. +#ifdef WIN32 + return "mg-hybrid.exe" +#else return "mg-hybrid.bash"; +#endif } //================================================================================