You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by da...@apache.org on 2002/07/28 00:54:34 UTC
cvs commit: tcl-site/websh websh.conf
davidw 2002/07/27 15:54:34
Modified: websh websh.conf
Log:
This should keep us from having to specify hard-coded paths in websh.conf.
Revision Changes Path
1.2 +2 -2 tcl-site/websh/websh.conf
Index: websh.conf
===================================================================
RCS file: /home/cvs/tcl-site/websh/websh.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- websh.conf 27 Jul 2002 16:37:20 -0000 1.1
+++ websh.conf 27 Jul 2002 22:54:34 -0000 1.2
@@ -4,7 +4,7 @@
# ---------------------------------------------------------------------------
# where is all the stuff
-set document_root /home/tclwww/install/tcl-site
+set document_root [eval file join [lrange [file split [info script]] 0 end-2]]
# map of requests to interpreter classes
proc web::interpmap {file} {
---------------------------------------------------------------------
To unsubscribe, e-mail: tcl-site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: tcl-site-cvs-help@tcl.apache.org