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 2023/03/27 13:51:00 UTC

[jira] [Resolved] (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 resolved TOMEE-2164.
----------------------------------
    Fix Version/s:     (was: 1.7.6)
       Resolution: Resolved

In the 7 branch, the problem was no longer present at the time of the bug report. Since the 1.7 branch is now classified as discontinued and there will therefore no longer be a version 1.7.6, I mark the problem as resolved.

> 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
>
> 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.20.10#820010)