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

Brian Stansberry (JIRA) issues at jboss.org
Tue Apr 7 17:55:19 EDT 2015


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

Brian Stansberry reassigned WFLY-4297:
--------------------------------------

       Assignee: Tomaz Cerar  (was: Jason Greene)
    Component/s: Scripts


Tomaz, please move to WFCORE if this is still valid, else please resolve as Out of Date.

> [PATCH] fix 2 bugs in bin/standalone.sh
> ---------------------------------------
>
>                 Key: WFLY-4297
>                 URL: https://issues.jboss.org/browse/WFLY-4297
>             Project: WildFly
>          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.11#6341)


More information about the jboss-jira mailing list