summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjingham <jingham>2000-04-23 03:36:51 (GMT)
committerjingham <jingham>2000-04-23 03:36:51 (GMT)
commita0e19ff846589d58570bb29d15ef5c1c496a64ac (patch)
treebbcd9f52f5aa2fbac04c5029d04273aefaf943c1 /library
parenta8e7531672e83d472bbe36d0e63ce316bb0cf562 (diff)
downloadtcl-a0e19ff846589d58570bb29d15ef5c1c496a64ac.zip
tcl-a0e19ff846589d58570bb29d15ef5c1c496a64ac.tar.gz
tcl-a0e19ff846589d58570bb29d15ef5c1c496a64ac.tar.bz2
2000-04-22 Jim Ingham <jingham@cygnus.com> * library/package.tcl (tclPkgUnknown): Fixed a typo in the Mac package search part of tclPkgUnknown.
Diffstat (limited to 'library')
-rw-r--r--library/package.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/package.tcl b/library/package.tcl
index d8ead07..c3f3572 100644
--- a/library/package.tcl
+++ b/library/package.tcl
@@ -3,7 +3,7 @@
# utility procs formerly in init.tcl which can be loaded on demand
# for package management.
#
-# RCS: @(#) $Id: package.tcl,v 1.13 2000/03/06 19:17:11 ericm Exp $
+# RCS: @(#) $Id: package.tcl,v 1.14 2000/04/23 03:36:51 jingham Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
@@ -488,7 +488,7 @@ proc tclPkgUnknown {name version {exact {}}} {
if {(![interp issafe]) && \
[string equal $tcl_platform(platform) "macintosh"]} {
set dir [lindex $use_path end]
- if {![info exists procdDirs($x)]} {
+ if {![info exists procdDirs($dir)]} {
tclMacPkgSearch $dir
set procdDirs($dir) 1
}