]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
CoTech decision: move MEDWrapper from MED to SMESH
authoreap <eap@opencascade.com>
Tue, 25 Jun 2013 11:57:19 +0000 (11:57 +0000)
committereap <eap@opencascade.com>
Tue, 25 Jun 2013 11:57:19 +0000 (11:57 +0000)
MED.idl no more exists

-      aStr<<"bash -c \""<<getenv("MED_ROOT_DIR")<<"/bin/salome/mprint_version \'"<<theFileName<<"\'\"";
+      aStr<<"bash -c \""<<getenv("SMESH_ROOT_DIR")<<"/bin/salome/mprint_version \'"<<theFileName<<"\'\"";

src/MEDWrapper/Factory/MED_Factory.cxx

index a1781441b6db4e795185906042bb1ae981696298..7232ee08d82aedd27318a1bf25d3df2a6d68a4eb 100644 (file)
@@ -56,7 +56,7 @@ namespace MED
       // First check, is it possible to deal with the file
       std::ostringstream aStr;
       // File name is in quotes for the case of space(s) inside it (PAL13009)
-      aStr<<"bash -c \""<<getenv("MED_ROOT_DIR")<<"/bin/salome/mprint_version \'"<<theFileName<<"\'\"";
+      aStr<<"bash -c \""<<getenv("SMESH_ROOT_DIR")<<"/bin/salome/mprint_version \'"<<theFileName<<"\'\"";
       if(!MYDEBUG)
         aStr<<" 2>&1 > /dev/null";