summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibrary/dde1.0/pkgIndex.tcl2
-rwxr-xr-xlibrary/reg/pkgIndex.tcl2
-rwxr-xr-xlibrary/reg1.0/pkgIndex.tcl2
3 files changed, 3 insertions, 3 deletions
diff --git a/library/dde1.0/pkgIndex.tcl b/library/dde1.0/pkgIndex.tcl
index 6277759..075a0e8 100755
--- a/library/dde1.0/pkgIndex.tcl
+++ b/library/dde1.0/pkgIndex.tcl
@@ -1 +1 @@
-package ifneeded dde 1.0 "load [list [file join $dir tcldde81.dll]] dde"
+package ifneeded dde 1.0 "load [list [file join [file dirname [info nameofexecutable]] tcldde81.dll]] dde"
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"
diff --git a/library/reg1.0/pkgIndex.tcl b/library/reg1.0/pkgIndex.tcl
index a018073..8886737 100755
--- a/library/reg1.0/pkgIndex.tcl
+++ b/library/reg1.0/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"