From: Cédric Aguerre Date: Mon, 24 Nov 2014 15:37:01 +0000 (+0100) Subject: use log dir function X-Git-Tag: V7_5_1b1~4^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fagr%2Fpython_refactoring;p=modules%2Fgeom.git use log dir function --- 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" )