]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
Fix for '23344: [CEA 1950] Hybrid doesn't work on Windows' issue. V8_1_0rc1
authorrnv <rnv@opencascade.com>
Thu, 15 Sep 2016 11:01:47 +0000 (14:01 +0300)
committerrnv <rnv@opencascade.com>
Thu, 15 Sep 2016 11:01:47 +0000 (14:01 +0300)
src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis.cxx

index 8cca352878fa7a0f866088d9980d954aa959cdd5..7eaae4446003125d381d64c344f230630a974d7c 100644 (file)
@@ -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
 }
 
 //================================================================================