[Starkit] Building a fresh starkit
Techentin, Robert W.
techentin.robert at mayo.edu
Thu Apr 28 13:59:41 CEST 2005
>
> > Doesn't [file dirname [info script]] do the job?
>
> When I tried to use this to set my sourcedir
> variable, what I got as a value was "." .
> That didn't work when I tried it...
>
That's odd. Before I emailed, I wrote a one-liner script, qwrapped it, and
tested it, and it seemed to work on my HP-UX and Linux systems. Here's an
example:
mynock> cat test3.tcl
puts [file dirname [info script]]
mynock> sdx qwrap test3.tcl
5 updates applied
mynock> tclkit test3.kit
/users/techenti/test3.kit/lib/app-test3
mynock> tclkit test3.tcl
.
My tclkits are 8.4.4.
Bob
--
Bob Techentin techentin.robert at mayo.edu
Mayo Foundation (507) 538-5495
200 First St. SW FAX (507) 284-9171
Rochester MN, 55901 USA http://www.mayo.edu/sppdg/
More information about the Starkit
mailing list