interplane.Get Omega
Read in your language

sqlite

[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.

Brought by drakestapleton

branch master Branches Tags History

sqlite / tool / cktclsh.sh

11 lines · 315 bytes Raw Blame History
1# Fail with an error if the TCLSH named in $2 is not tclsh version $1 or later.
2#
3echo "set vers $1" >cktclsh$1.tcl
4echo 'if {$tcl_version<$vers} {exit 1}' >>cktclsh$1.tcl
5if ! $2 cktclsh$1.tcl
6then
7 echo "ERROR: This makefile target requires tclsh $1 or later."
8 rm cktclsh$1.tcl
9 exit 1
10fi
11rm cktclsh$1.tcl