[ 
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)

Reply via email to