diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2025-03-27 14:32:57 +0000 |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2025-03-27 14:32:57 +0000 |
commit | 87b90921b6e0bd0c415bd6723a9d90b50bfd2747 (patch) | |
tree | 1ac49e7d0f7f5686abd28db7c43aef946937aa17 /tool | |
parent | eb2644024af7124222b2e5e0faab66275aefbb92 (diff) | |
download | sqlite-87b90921b6e0bd0c415bd6723a9d90b50bfd2747.tar.gz sqlite-87b90921b6e0bd0c415bd6723a9d90b50bfd2747.zip |
In Tcl, always use eq/ne for comparing strings, not ==/!=
FossilOrigin-Name: f96a5346e3e890adfdc94a682688c2c15893e50fbaf2a26e5ef39cda8b331ee4
Diffstat (limited to 'tool')
-rw-r--r-- | tool/buildtclext.tcl | 4 | ||||
-rw-r--r-- | tool/mksqlite3c.tcl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tool/buildtclext.tcl b/tool/buildtclext.tcl index a3e8783cd..8e5bef38a 100644 --- a/tool/buildtclext.tcl +++ b/tool/buildtclext.tcl @@ -75,7 +75,7 @@ set fd [open $srcdir/VERSION] set VERSION [string trim [read $fd]] close $fd -if {$tcl_platform(platform)=="windows"} { +if {$tcl_platform(platform) eq "windows"} { # We are only able to install, uninstall, and list on Windows. # The build process is handled by the Makefile.msc, specifically # using "nmake /f Makefile.msc pkgIndex.tcl tclsqlite3.dll" @@ -154,7 +154,7 @@ if {$tcl_platform(platform)=="windows"} { if {[string length $OPTS]>1} { append LDFLAGS $OPTS } - if {$tcl_platform(os)=="Windows NT"} { + if {$tcl_platform(os) eq "Windows NT"} { set OUT cyg } else { set OUT lib diff --git a/tool/mksqlite3c.tcl b/tool/mksqlite3c.tcl index 1d0f89236..7b6f57e42 100644 --- a/tool/mksqlite3c.tcl +++ b/tool/mksqlite3c.tcl @@ -111,7 +111,7 @@ puts $out [subst \ ** separate file. This file contains only code for the core SQLite library. **}] set srcroot [file dirname [file dirname [info script]]] -if {$tcl_platform(platform)=="windows"} { +if {$tcl_platform(platform) eq "windows"} { set vsrcprog src-verify.exe } else { set vsrcprog ./src-verify |