Diff

Differences From Artifact [08a58cef96]:

To Artifact [cc4d6e243b]:


     1      1   #! /usr/bin/env tclsh
     2      2   
     3      3   set outputname [lindex $argv 0]
            4  +set buildflags [split [lindex $argv 1] -]
            5  +
            6  +# If we built a KitDLL, the executable name will be "./tclsh"
            7  +if {[lsearch -exact $buildflags "kitdll"] != -1} {
            8  +	set outputname "${outputname}-tclsh"
            9  +}
     4     10   
     5     11   if {[info nameofexecutable] == $outputname} {
     6     12   	exit 0
     7     13   }
     8     14   
     9     15   # Under Wine, the drive letter is added
    10     16   if {[info nameofexecutable] == "Z:$outputname"} {