diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-11-24 14:59:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-11-24 14:59:04 (GMT) |
commit | 9fccec3f94495effb3261723c55f41acd31375c2 (patch) | |
tree | 5f8d0d8123beeaa0712de75d19ea4db3e96d1682 /library/package.tcl | |
parent | bf8595e255187a029c4b0ee610ce7bbebaeac25e (diff) | |
download | tcl-9fccec3f94495effb3261723c55f41acd31375c2.zip tcl-9fccec3f94495effb3261723c55f41acd31375c2.tar.gz tcl-9fccec3f94495effb3261723c55f41acd31375c2.tar.bz2 |
If a pkgIndex file is encountered which produces an error, continue. This shoud fix the Travis build for 9.0 (But same fix should be in 8.7 as well)
Diffstat (limited to 'library/package.tcl')
-rw-r--r-- | library/package.tcl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/library/package.tcl b/library/package.tcl index c72fbfb..974cbf0 100644 --- a/library/package.tcl +++ b/library/package.tcl @@ -493,7 +493,8 @@ proc tclPkgUnknown {name args} { # $file was not readable; silently ignore continue } on error msg { - tclLog "error reading package index file $file: $msg" + # $file is not usable; silently ignore + continue } on ok {} { set procdDirs($dir) 1 } @@ -511,7 +512,8 @@ proc tclPkgUnknown {name args} { # $file was not readable; silently ignore continue } on error msg { - tclLog "error reading package index file $file: $msg" + # $file is not usable; silently ignore + continue } on ok {} { set procdDirs($dir) 1 } @@ -595,7 +597,8 @@ proc tcl::MacOSXPkgUnknown {original name args} { # $file was not readable; silently ignore continue } on error msg { - tclLog "error reading package index file $file: $msg" + # $file is not usable; silently ignore + continue } on ok {} { set procdDirs($dir) 1 } |