mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
https://github.com/flightaware/tclreadline/pull/41 https://github.com/flightaware/tclreadline/issues/35
13 lines
692 B
Tcl
13 lines
692 B
Tcl
--- tclreadlineInit.tcl.in.orig 2024-07-08 12:20:49 UTC
|
|
+++ tclreadlineInit.tcl.in
|
|
@@ -17,8 +17,8 @@ proc ::tclreadline::Init {} {
|
|
uplevel #0 {
|
|
if {![info exists tclreadline::library]} {
|
|
set msg ""
|
|
- foreach dirname {@TCLRL_LIBDIR@ [file dirname [info script]]} {
|
|
- if {[catch {load [file join $dirname libtclreadline[info sharedlibextension]]} msg] == 0} {
|
|
+ foreach dirname [list @TCLRL_LIBDIR@ [file dirname [info script]]] {
|
|
+ if {[catch {load [file join $dirname libtclreadline[info sharedlibextension]] tclreadline} msg] == 0} {
|
|
set msg ""
|
|
break
|
|
}
|