[jboss-jira] [JBoss JIRA] (WFLY-4297) [PATCH] fix 2 bugs in bin/standalone.sh

Martin Petricek (JIRA) issues at jboss.org
Thu Jan 29 06:36:49 EST 2015


Martin Petricek created WFLY-4297:
-------------------------------------

             Summary: [PATCH] fix 2 bugs in bin/standalone.sh
                 Key: WFLY-4297
                 URL: https://issues.jboss.org/browse/WFLY-4297
             Project: WildFly
          Issue Type: Bug
            Reporter: Martin Petricek
            Assignee: Jason Greene


bin/standalone.sh does not use "shift" correctly when parsing commandline option, failing with "bin/standalone.sh: 34: shift: can't shift that many" if "--debug" without a parameter is used on dash (default shell in debian)

Second issue is that the script does not handle correctly situation when CDPATH environment variable is set, failing completely.

Attaching patch that fixes both these issues.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list