From 58a307b81afd7574ca837e1ba8b7e47701796914 Mon Sep 17 00:00:00 2001 From: abd Date: Wed, 14 Feb 2007 10:52:20 +0000 Subject: [PATCH] Correct lib name for Mandriva64 --- bin/setenv.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/setenv.py b/bin/setenv.py index 47696610e..4edecbfbf 100755 --- a/bin/setenv.py +++ b/bin/setenv.py @@ -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"), -- 2.39.2