summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-05 13:09:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-05 13:09:26 (GMT)
commit8da19e064b1726cad087cc00da596da9c09704c5 (patch)
tree62f979a98827cae50c7dc57388f6816561d7a88e
parent666afa7352118fa5d33a2de889a93a1842806424 (diff)
downloadtcl-8da19e064b1726cad087cc00da596da9c09704c5.zip
tcl-8da19e064b1726cad087cc00da596da9c09704c5.tar.gz
tcl-8da19e064b1726cad087cc00da596da9c09704c5.tar.bz2
One more ::tcl::Pkg::source, for the Mac
-rw-r--r--library/package.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/package.tcl b/library/package.tcl
index 5257cd6..c72fbfb 100644
--- a/library/package.tcl
+++ b/library/package.tcl
@@ -590,7 +590,7 @@ proc tcl::MacOSXPkgUnknown {original name args} {
set dir [file dirname $file]
if {![info exists procdDirs($dir)]} {
try {
- source $file
+ ::tcl::Pkg::source $file
} trap {POSIX EACCES} {} {
# $file was not readable; silently ignore
continue