You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Lars Herschke (Jira)" <ji...@apache.org> on 2020/03/25 11:54:00 UTC

[jira] [Updated] (TOMEE-2164) tomee.sh using double squared brackets, which don't work in POSIX-shell

     [ https://issues.apache.org/jira/browse/TOMEE-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Herschke updated TOMEE-2164:
---------------------------------
        Fix Version/s: 1.7.6
    Affects Version/s: 7.0.0-M3
                       7.0.0
                       7.0.0-M1
                       1.7.6
                       7.0.0-M2

> tomee.sh using double squared brackets, which don't work in POSIX-shell
> -----------------------------------------------------------------------
>
>                 Key: TOMEE-2164
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2164
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 7.0.0-M1, 7.0.0-M2, 7.0.0-M3, 7.0.0, 1.7.5, 1.7.6
>         Environment: FreeBSD 10.3-STABLE amd64
>            Reporter: Lars Herschke
>            Priority: Minor
>             Fix For: 1.7.6
>
>
> tomee.sh  has in line 55 the condition [[ -f "$TOMEE_BASE"/bin/setenv.sh ]]. Conditions with double squared brackets work in bash e.g., but not in POSIX-shell. The shebang in tomee.sh refer to /bin/sh, wich is on many system a POSIX.shell respectively a bourne-shell.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)