From 1a981ddf6e5dded62ab0f751b7fed18dbfc40e9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Mon, 24 Nov 2014 16:37:01 +0100 Subject: [PATCH] use log dir function --- bin/geom_setenv.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/geom_setenv.py b/bin/geom_setenv.py index b4e8b747a..8b34068dc 100644 --- a/bin/geom_setenv.py +++ b/bin/geom_setenv.py @@ -20,7 +20,7 @@ # import os, sys, string -from salome_utils import getTmpDir, generateFileName, uniteFiles +from salome_utils import getLogDir, generateFileName, uniteFiles from setenv import add_path, get_lib_dir, salome_subdir # ----------------------------------------------------------------------------- @@ -29,8 +29,8 @@ def set_env( args ): """Add to the PATH-variables modules specific paths""" psep = os.pathsep python_version="python%d.%d" % sys.version_info[0:2] - - tmp_dir = getTmpDir() + + tmp_dir = getLogDir() env_dir = generateFileName( tmp_dir, prefix="env", with_port=True ) res_dir = os.path.join( os.getenv( "GEOM_ROOT_DIR" ), "share", salome_subdir, "resources", "geom" ) -- 2.39.2