From ad4ff8ab7c9847a0b8581b42568d9ff473ebaadf Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 9 Dec 2022 09:46:40 +0100 Subject: [PATCH] sat #33094 Can't find a usable init.tcl --- products/env_scripts/tcl.py | 2 +- products/env_scripts/tcltk.py | 4 ++-- products/env_scripts/tk.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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=" ") -- 2.39.2