From: abd Date: Wed, 14 Feb 2007 10:52:20 +0000 (+0000) Subject: Correct lib name for Mandriva64 X-Git-Tag: V4_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=58a307b81afd7574ca837e1ba8b7e47701796914;p=modules%2Fkernel.git Correct lib name for Mandriva64 --- 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"),