Diff

Differences From Artifact [3a059dfee8]:

To Artifact [01a4e2e7f2]:


    16     16   
    17     17   # Determine what storage mechanism is being used
    18     18   ## This logic must be duplicated from "kitInit.c"
    19     19   set fd [open Makefile r]
    20     20   set data [read $fd]
    21     21   close $fd
    22     22   
    23         -if {[string match "*KIT_INCLUDES_MK4TCL*" $data]} {
    24         -	set tclKitStorage mk4
    25         -} else {
           23  +if {[string match "*KIT_STORAGE_ZIP*" $data]} {
    26     24   	set tclKitStorage zip
           25  +}
           26  +if {[string match "*KIT_STORAGE_MK4*" $data]} {
           27  +	set tclKitStorage mk4
           28  +}
           29  +
           30  +if {![info exists tclKitStorage]} {
           31  +	if {[string match "*KIT_INCLUDES_MK4TCL*" $data]} {
           32  +		set tclKitStorage mk4
           33  +	} else {
           34  +		set tclKitStorage zip
           35  +	}
    27     36   }
    28     37   
    29     38   # Define procedures
    30     39   proc copy_file {srcfile destfile} {
    31     40   	switch -glob -- $srcfile {
    32     41   		"*.tcl" - "*.txt" {
    33     42   			set ifd [open $srcfile r]