[jboss-jira] [JBoss JIRA] (WFCORE-784) standalone.sh does not handle correctly situation when CDPATH environment variable is set

Jason Greene (JIRA) issues at jboss.org
Thu Oct 29 00:19:01 EDT 2015


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

Jason Greene updated WFCORE-784:
--------------------------------
    Fix Version/s: 2.0.0.Final
                       (was: 2.0.0.CR9)


> standalone.sh does not handle correctly situation when CDPATH environment variable is set
> -----------------------------------------------------------------------------------------
>
>                 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
>             Fix For: 2.0.0.Final
>
>         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.4.11#64026)


More information about the jboss-jira mailing list