Artifact 41e0d51f2bea8be12236fb2912e1638bd3073e5839ad6877a01bf29bae6acef3:
- File library/install.tcl — part of check-in [535a8088d4] at 2017-11-20 17:09:44 on branch core_zip_vfs — Modifications to allow the Tcl build system to exploit either a native zip executable in the path or a tclsh that understands the new "install" keyword from the command line Added a new file to /library which is run when the user executes "tclsh install ..." Embedded in installer.tcl is a facility for building zip archives (user: hypnotoad, size: 234) [annotate] [blame] [check-ins using]
### # Installer actions built into tclsh and invoked # if the first command line argument is "install" ### if {[llength $argv] < 2} { exit 0 } switch [lindex $argv 1] { mkzip { zipfs mkzip {*}[lrange $argv 2 end] } } exit 0