summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-10-03 13:34:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-10-03 13:34:30 (GMT)
commitab7c4df02b91f86fd42936b1c44f131bf042fb3f (patch)
tree9c39f7a0b3f113c68393d56cb15a4e054d19cd2e /library/init.tcl
parent28533d82ea038848d80fe995d9a992401a77945f (diff)
downloadtcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.zip
tcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.tar.gz
tcl-ab7c4df02b91f86fd42936b1c44f131bf042fb3f.tar.bz2
[info exist]->[info exists]. [Bug 602566]
Diffstat (limited to 'library/init.tcl')
-rw-r--r--library/init.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 0bf3f26..d875f2e 100644
--- a/library/init.tcl
+++ b/library/init.tcl
@@ -3,7 +3,7 @@
# Default system startup file for Tcl-based applications. Defines
# "unknown" procedure and auto-load facilities.
#
-# RCS: @(#) $Id: init.tcl,v 1.52 2002/06/21 19:44:16 dgp Exp $
+# RCS: @(#) $Id: init.tcl,v 1.53 2002/10/03 13:34:32 dkf Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -40,7 +40,7 @@ package require -exact Tcl 8.4
# On Macintosh it is "Tool Command Language" in the Extensions folder
if {![info exists auto_path]} {
- if {[info exist env(TCLLIBPATH)]} {
+ if {[info exists env(TCLLIBPATH)]} {
set auto_path $env(TCLLIBPATH)
} else {
set auto_path ""
@@ -60,7 +60,7 @@ namespace eval tcl {
if {[lsearch -exact $::auto_path $Dir] < 0} {
lappend ::auto_path $Dir
}
- if {[info exist ::tcl_pkgPath]} {
+ if {[info exists ::tcl_pkgPath]} {
foreach Dir $::tcl_pkgPath {
if {[lsearch -exact $::auto_path $Dir] < 0} {
lappend ::auto_path $Dir