TEA (tclconfig) Source Code

View Ticket
Login
Ticket UUID: 14f0d2c9558caf6701e4a1e35dbe49a048b04638
Title: Incorrect usage of test in [2a8174cc0c] and [381985d331]
Type: Bug Version: 9.0b3
Submitter: dmcooke Created on: 2024-08-16 08:30:47
Subsystem: 85. tclconfig Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2024-08-21 08:55:48
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2024-08-21 08:55:48
Description:
Checkins [2a8174cc0c] and [381985d331] modify some lines in tcl.m4 from

    if test "${TCL_MAJOR_VERSION}" -gt 8 ; then

to

    if test "${TCL_MAJOR_VERSION}" -gt 8 -a x"${with_tcl8}" == x; then

However, in POSIX, "==" is not a valid operator for test -- it should be "=".

Using "==" works in bash and zsh, but does not work in dash, which is stricter about POSIX conformance.

When using dash, the command will fail with 'unexpected operator'.
User Comments: jan.nijtmans added on 2024-08-21 08:55:36:

Fixed [37ba9ebbc528ccd5|here]. Thanks for the report!


jan.nijtmans added on 2024-08-16 10:28:46:

Thanks! I'll change that