summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorrmax <rmax>2003-07-24 08:45:09 (GMT)
committerrmax <rmax>2003-07-24 08:45:09 (GMT)
commit69bc2d2dcd6bd96a75ea42e0fdb1c23fc1054390 (patch)
tree593a0aa456555ae2b6e441b5dfa59eec73ae0446 /library
parent601e5f197d4f3fa52160644453d52720b4115788 (diff)
downloadtcl-69bc2d2dcd6bd96a75ea42e0fdb1c23fc1054390.zip
tcl-69bc2d2dcd6bd96a75ea42e0fdb1c23fc1054390.tar.gz
tcl-69bc2d2dcd6bd96a75ea42e0fdb1c23fc1054390.tar.bz2
* library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.
* tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
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 9d1c235..545f6a9 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.24 2003/07/11 17:25:50 dgp Exp $
+# RCS: @(#) $Id: package.tcl,v 1.25 2003/07/24 08:45:18 rmax Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
@@ -368,7 +368,7 @@ proc pkg_mkIndex {args} {
set cmds [lsort [$c eval array names ::tcl::newCmds]]
set pkgs [$c eval set ::tcl::newPkgs]
if {$doVerbose} {
- if { !$::tcl::direct } {
+ if { !$direct } {
tclLog "commands provided were $cmds"
}
tclLog "packages provided were $pkgs"