use log dir function

This commit is contained in:
Cédric Aguerre 2014-11-24 16:37:01 +01:00
parent e957479789
commit 1a981ddf6e

View File

@ -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
# -----------------------------------------------------------------------------
@ -30,7 +30,7 @@ def set_env( args ):
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" )