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

Tomaz Cerar (JIRA) issues at jboss.org
Tue Jun 30 10:20:03 EDT 2015


     [ https://issues.jboss.org/browse/WFCORE-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar moved WFLY-4297 to WFCORE-784:
------------------------------------------

        Project: WildFly Core  (was: WildFly)
            Key: WFCORE-784  (was: WFLY-4297)
    Component/s: Scripts
                     (was: Scripts)


> [PATCH] fix 2 bugs in bin/standalone.sh
> ---------------------------------------
>
>                 Key: WFCORE-784
>                 URL: https://issues.jboss.org/browse/WFCORE-784
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Scripts
>            Reporter: Martin Petricek
>            Assignee: Tomaz Cerar
>         Attachments: bin-fix.patch
>
>
> 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.15#6346)


More information about the jboss-jira mailing list