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 2018/01/25 13:12:00 UTC

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

Lars Herschke created TOMEE-2164:
------------------------------------

             Summary: 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: 1.7.5
         Environment: FreeBSD 10.3-STABLE amd64
            Reporter: Lars Herschke


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
(v7.6.3#76005)