Overview
| Artifact ID: | 2f978073863c45572a41e0772bb439503bbe787f |
|---|---|
| Ticket: | 3592042fffffffffffffffffffffffffffffffff
pkg_mkIndex fails on package present |
| User & Date: | dgp on 2012-12-04 22:38:10 |
Changes
- icomment:
For the minimal example you present, the best solution is really to replace the [package present bar] in test/init.tcl with [package require bar]. pkg_mkIndex would then handle it and in the context presented, the functionality would be identical, bailing out with an error whenever package bar was not present. I suspect your actual use case may have more plausible reasons for using [package present].
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"