summaryrefslogtreecommitdiffstats
path: root/library/reg/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/reg/pkgIndex.tcl')
-rwxr-xr-xlibrary/reg/pkgIndex.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl
index a018073..8886737 100755
--- a/library/reg/pkgIndex.tcl
+++ b/library/reg/pkgIndex.tcl
@@ -1 +1 @@
-package ifneeded registry 1.0 "load [list [file join $dir tclreg81.dll]] registry"
+package ifneeded registry 1.0 "load [list [file join [file dirname [info nameofexecutable]] tclreg81.dll]] registry"