From: Nabil Ghodbane Date: Fri, 9 Dec 2022 08:46:40 +0000 (+0100) Subject: sat #33094 Can't find a usable init.tcl X-Git-Tag: V9_11_0~154 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ad4ff8ab7c9847a0b8581b42568d9ff473ebaadf;p=tools%2Fsat_salome.git sat #33094 Can't find a usable init.tcl --- diff --git a/products/env_scripts/tcl.py b/products/env_scripts/tcl.py index 4432a88..cb41c24 100644 --- a/products/env_scripts/tcl.py +++ b/products/env_scripts/tcl.py @@ -14,7 +14,7 @@ def set_env(env, prereq_dir, version): l = [] l.append(os.path.join(prereq_dir, 'lib')) - l.append(os.path.join(prereq_dir, 'lib', 'tcl', env.get('TCL_SHORT_VERSION'))) + l.append(os.path.join(prereq_dir, 'lib', 'tcl' + env.get('TCL_SHORT_VERSION'))) #http://computer-programming-forum.com/57-tcl/1dfddc136afccb94.htm #Tcl treats the contents of that variable as a list. Be happy, for you can now use drive letters on windows. env.prepend('TCLLIBPATH', l, sep=" ") diff --git a/products/env_scripts/tcltk.py b/products/env_scripts/tcltk.py index 18069de..bab1278 100644 --- a/products/env_scripts/tcltk.py +++ b/products/env_scripts/tcltk.py @@ -16,13 +16,13 @@ def set_env(env, prereq_dir, version): l = [] l.append(os.path.join(prereq_dir, 'lib')) - l.append(os.path.join(prereq_dir, 'lib', 'tcl', env.get('TCL_SHORT_VERSION'))) + l.append(os.path.join(prereq_dir, 'lib', 'tcl' + env.get('TCL_SHORT_VERSION'))) #http://computer-programming-forum.com/57-tcl/1dfddc136afccb94.htm #Tcl treats the contents of that variable as a list. Be happy, for you can now use drive letters on windows. env.prepend('TCLLIBPATH',l, sep=" ") l = [] l.append(os.path.join(prereq_dir, 'lib')) - l.append(os.path.join(prereq_dir, 'lib', 'tk', env.get('TCL_SHORT_VERSION'))) + l.append(os.path.join(prereq_dir, 'lib', 'tk' + env.get('TCL_SHORT_VERSION'))) env.prepend('TKLIBPATH', l, sep=" ") if not platform.system() == "Windows" : diff --git a/products/env_scripts/tk.py b/products/env_scripts/tk.py index 4f90200..91571d7 100755 --- a/products/env_scripts/tk.py +++ b/products/env_scripts/tk.py @@ -16,7 +16,7 @@ def set_env(env, prereq_dir, version): l = [] l.append(os.path.join(root, 'lib')) - l.append(os.path.join(root, 'lib', 'tk', env.get('TCL_SHORT_VERSION'))) + l.append(os.path.join(root, 'lib', 'tk' + env.get('TCL_SHORT_VERSION'))) #http://computer-programming-forum.com/57-tcl/1dfddc136afccb94.htm #Tcl treats the contents of that variable as a list. Be happy, for you can now use drive letters on windows. env.prepend('TKLIBPATH', l, sep=" ")