summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-10-30 11:06:17 (GMT)
committerhobbs <hobbs>1999-10-30 11:06:17 (GMT)
commitcee92d2123f2355d02ae04da6eb079bb8cbbb7d8 (patch)
treecedc329be15edba5eef888990cc77de0fd7e9578
parentab02c7243827d149fad1bbeefd5de2c615f236bc (diff)
downloadtcl-cee92d2123f2355d02ae04da6eb079bb8cbbb7d8.zip
tcl-cee92d2123f2355d02ae04da6eb079bb8cbbb7d8.tar.gz
tcl-cee92d2123f2355d02ae04da6eb079bb8cbbb7d8.tar.bz2
* library/init.tcl: removed [info nameof]/../bin from auto_path
-rw-r--r--library/init.tcl12
1 files changed, 5 insertions, 7 deletions
diff --git a/library/init.tcl b/library/init.tcl
index 7287398..ac5b52f 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.32 1999/08/09 16:30:50 hobbs Exp $
+# RCS: @(#) $Id: init.tcl,v 1.32.4.1 1999/10/30 11:06:17 hobbs Exp $
#
# Copyright (c) 1991-1993 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -52,12 +52,10 @@ if {[string compare [info library] {}]} {
}
}
}
-foreach __dir [list [file dirname [info nameofexecutable]] \
- [file join [file dirname [file dirname \
- [info nameofexecutable]]] lib]] {
- if {[lsearch -exact $auto_path $__dir] < 0} {
- lappend auto_path $__dir
- }
+set __dir [file join [file dirname \
+ [file dirname [info nameofexecutable]]] lib]
+if {[lsearch -exact $auto_path $__dir] < 0} {
+ lappend auto_path $__dir
}
if {[info exist tcl_pkgPath]} {
foreach __dir $tcl_pkgPath {