From 79979b4ac0e8c2fd4fa1be6f683660291043bb94 Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Sun, 5 Nov 2023 18:09:14 -0600 Subject: [PATCH] Issue #673: Fix tcl2lua.tcl back to standard defs of path_to_lua and path_to_lmod --- src/tcl2lua.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tcl2lua.tcl b/src/tcl2lua.tcl index c72b5dd9f..55a97c282 100755 --- a/src/tcl2lua.tcl +++ b/src/tcl2lua.tcl @@ -1,4 +1,4 @@ -#!/usr/bin/tclsh +#!/usr/bin/env tclsh #------------------------------------------------------------------------ # Lmod License @@ -39,8 +39,8 @@ global g_moduleT g_setup_moduleT g_lua_cmd env g_my_cmd global g_envT g_envClrT set g_setup_moduleT 0 -set g_lua_cmd "/usr/bin/lua" -set g_lmod_cmd "/usr/share/lmod/8.7.31/libexec/lmod" +set g_lua_cmd "@path_to_lua@" +set g_lmod_cmd "@path_to_lmod@" set g_my_cmd $argv0 set g_envT [dict create] set g_envClrT [dict create]