]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Correct lib name for Mandriva64 V4_0a1
authorabd <abd@opencascade.com>
Wed, 14 Feb 2007 10:52:20 +0000 (10:52 +0000)
committerabd <abd@opencascade.com>
Wed, 14 Feb 2007 10:52:20 +0000 (10:52 +0000)
bin/setenv.py

index 47696610eb77f9942fce3affd2af85e7261737ff..4edecbfbf2849d3f4f326b241e51b7350ecdc855 100755 (executable)
@@ -135,10 +135,10 @@ def set_env(args, modules_list, modules_root_dir):
             module_root_dir = modules_root_dir[module]
             modules_root_dir_list[:0] = [module_root_dir]
             if sys.platform == "win32":
-              add_path(os.path.join(module_root_dir,"lib",salome_subdir),
+              add_path(os.path.join(module_root_dir,get_lib_dir(),salome_subdir),
                      "PATH")
             else:
-              add_path(os.path.join(module_root_dir,"lib",salome_subdir),
+              add_path(os.path.join(module_root_dir,get_lib_dir(),salome_subdir),
                      "LD_LIBRARY_PATH")
             add_path(os.path.join(module_root_dir,"bin",salome_subdir),
                      "PATH")
@@ -149,13 +149,13 @@ def set_env(args, modules_list, modules_root_dir):
             add_path(os.path.join(module_root_dir,"bin",salome_subdir),
                      "PYTHONPATH")
             # add lib before site-packages to load script instead of dll if any (win32 platform)
-            add_path(os.path.join(module_root_dir,"lib",salome_subdir),
+            add_path(os.path.join(module_root_dir,get_lib_dir(),salome_subdir),
                      "PYTHONPATH")
-            add_path(os.path.join(module_root_dir,"lib",
+            add_path(os.path.join(module_root_dir,get_lib_dir(),
                                   python_version,"site-packages",
                                   salome_subdir),
                      "PYTHONPATH")
-            add_path(os.path.join(module_root_dir,"lib",
+            add_path(os.path.join(module_root_dir,get_lib_dir(),
                                   python_version,"site-packages",
                                   salome_subdir,
                                   "shared_modules"),