diff options
Diffstat (limited to 'library')
-rw-r--r-- | library/package.tcl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/package.tcl b/library/package.tcl index f0f9f44..c9506a8 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.8 2000/01/27 19:48:29 ericm Exp $ +# RCS: @(#) $Id: package.tcl,v 1.9 2000/01/28 19:32:05 ericm Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1998 Sun Microsystems, Inc. @@ -302,7 +302,8 @@ proc pkg_mkIndex {args} { # special case so that global names have no leading # ::, this is required by the unknown command - set ::tcl::abs [auto_qualify $::tcl::abs ::] + set ::tcl::abs \ + [lindex [auto_qualify $::tcl::abs ::] 0] if {[string compare $::tcl::x $::tcl::abs]} { # Name changed during qualification |