Artifact e57c9145b9cb9c1f41afd07bc72581f6a0daa243:
- Executable file tests/langbench/findtcl — part of check-in [69b737f5a1] at 2016-04-19 20:35:49 on branch little — Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html (user: dgp, size: 479) [annotate] [blame] [check-ins using]
#!/bin/sh
test X$TCL = X || {
echo $TCL
exit 0
}
# If langbench is in the bk source tree, tcl is at ../gui/tcltk/tcl
test -d ../gui/tcltk/tcl/generic && {
echo ../gui/tcltk/tcl
exit 0
}
# If langbench is in the tcl source tree, it is likely at tests/langbench
# or tests.
test -d ../tests -a -d ../generic && {
echo ..
exit 0
}
test -d ../../tests -a -d ../../generic && {
echo ../..
exit 0
}
echo "Can't find tcl source tree, set a path to one with TCL" 1>&2
exit 1