X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=bin%2Fsmesh_setenv.py;h=b58c8e4125783d4f50d86750433ab1ef3e92704a;hp=aa78a39f511df3dd5a7fe4ee57db92ed8243c603;hb=df5faa3c63b7a8984092e9c04a3c3c480f054a59;hpb=bd8f1aee7c78f7d2eb82bd4fec5e08c9e3d280ce diff --git a/bin/smesh_setenv.py b/bin/smesh_setenv.py index aa78a39f5..b58c8e412 100644 --- a/bin/smesh_setenv.py +++ b/bin/smesh_setenv.py @@ -1,11 +1,11 @@ #!/usr/bin/env python # -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either -# version 2.1 of the License. +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -36,7 +36,7 @@ def set_env(args): pass # find plugins - plugin_list = [] + plugin_list = ["StdMeshers"] resource_path_list = [] for env_var in os.environ.keys(): value = os.environ[env_var] @@ -78,7 +78,6 @@ def set_env(args): pass pass break - plugin_list.append("StdMeshers") os.environ["SMESH_MeshersList"] = ":".join(plugin_list) os.environ["SalomeAppConfig"] = os.environ["SalomeAppConfig"] + psep + psep.join(resource_path_list)