diff options
author | andreas_kupries <akupries@shaw.ca> | 2008-11-10 17:57:30 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2008-11-10 17:57:30 (GMT) |
commit | 5712fecd971bc4528ae335bd91d588df88d5ef82 (patch) | |
tree | 018359c0e0172f387b105a97d7c969b0aab004b9 /library/platform/shell.tcl | |
parent | fce9e95f9fcaf90587b556ee2de2ba36a2d81f42 (diff) | |
download | tcl-5712fecd971bc4528ae335bd91d588df88d5ef82.zip tcl-5712fecd971bc4528ae335bd91d588df88d5ef82.tar.gz tcl-5712fecd971bc4528ae335bd91d588df88d5ef82.tar.bz2 |
* doc/platform_shell.n: Fixed [Bug 2255235], reported by Ulrich
* library/platform/pkgIndex.tcl: Ring <uring@users.sourceforge.net>.
* library/platform/shell.tcl: Updated the LOCATE command in the
* library/tm.tcl: package 'platform::shell' to handle the new form
* unix/Makefile.in: of 'provide' commands generated by tm.tcl. Bumped
* win/Makefile.in: package to version 1.1.4. Added cross-references
to the relevant parts of the code to avoid future desynchronization.
Diffstat (limited to 'library/platform/shell.tcl')
-rw-r--r-- | library/platform/shell.tcl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/platform/shell.tcl b/library/platform/shell.tcl index b007666..407e639 100644 --- a/library/platform/shell.tcl +++ b/library/platform/shell.tcl @@ -104,8 +104,10 @@ proc ::platform::shell::LOCATE {bv ov} { # here. If the found package is wrapped we copy the code somewhere # where the spawned shell will be able to read it. + # Note: This code depends on the form of the 'provide' command + # generated by tm.tcl. Keep them in sync. See Bug 2255235. set pl [package ifneeded platform [package require platform]] - foreach {cmd base} $pl break + set base [lindex $pl end] set out 0 if {[lindex [file system $base]] ne "native"} { @@ -233,4 +235,4 @@ proc ::platform::shell::DIR {} { # ### ### ### ######### ######### ######### ## Ready -package provide platform::shell 1.1.3 +package provide platform::shell 1.1.4 |