Check-in [0f0abdc08e]
Overview
Comment:Corrected typo in comments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0f0abdc08ef83d460125c27a14220689706a2059
User & Date: rkeene on 2010-10-05 02:28:07
Other Links: manifest | tags
Context
2010-10-05
16:58
Added zip test that involves doing zlib decompression check-in: 7971c09bf4 user: rkeene tags: trunk
02:28
Corrected typo in comments check-in: 0f0abdc08e user: rkeene tags: trunk
02:26
Updated to ignore symlinks in KitBuild directory check-in: 535e327857 user: rkeene tags: trunk
Changes

Modified build/test/tests/02-nameofexe.tcl from [cc4d6e243b] to [e69ba495b8].

1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env tclsh

set outputname [lindex $argv 0]
set buildflags [split [lindex $argv 1] -]

# If we built a KitDLL, the executable name will be "./tclsh"
if {[lsearch -exact $buildflags "kitdll"] != -1} {
	set outputname "${outputname}-tclsh"
}

if {[info nameofexecutable] == $outputname} {
	exit 0
}





|







1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env tclsh

set outputname [lindex $argv 0]
set buildflags [split [lindex $argv 1] -]

# If we built a KitDLL, the executable name will be {kitname}-tclsh
if {[lsearch -exact $buildflags "kitdll"] != -1} {
	set outputname "${outputname}-tclsh"
}

if {[info nameofexecutable] == $outputname} {
	exit 0
}