[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:37:50 EST 2015


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

Martin Petricek updated WFLY-4297:
----------------------------------
    Attachment: bin-fix.patch


Patch to fix the issue

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