library/install.tcl has the following switch statement
switch [lindex $argv 1] {
mkzip {
zipfs mkzip {*}[lrange $argv 2 end]
}
mkzip {
zipfs mkimg {*}[lrange $argv 2 end]
}
default {
::practcl::[lindex $argv 1] {*}[lrange $argv 2 end]
}
}
I guess the second switch case should read mkimg instead of mkzip.
I was interested to test the effects of this install feature - but building on windows with SUPPORT_BUILTIN_ZIP_INSTALL defined that results in an error
tclZipfs.c:6494:36: error: use of undeclared identifier 'argvPtr'
archive = Tcl_WCharToUtfDString((*argvPtr)[1], TCL_INDEX_NONE, &ds);
|