TCL string comparison

TCL is a very fussy language. It matters when code is written at a newline. for example
in the following code
} else {
will work where as
}
else
{
will NOT work.

set tech $env(TARGET_TECH)
  if { [string equal $tech "ti_gs40_ti"] } {
    puts TI
    set core_condition  "${process}_${temperature}_${corevoltage}"
    set rtc_condition   "${process}_${temperature}_${rtcvoltage}"
    set condition       "${process}_${temperature}_${fabricvoltage}"
  } else {
    puts TSMC
    set core_condition  "$env(CASE_TYPE)"
    set rtc_condition   "$env(CASE_TYPE)"
    set condition       "$env(CASE_TYPE)"
  }