[jboss-jira] [JBoss JIRA] (WFCORE-160) Bash scripts should not attempt to expand argument properties

RH Bugzilla Integration (JIRA) issues at jboss.org
Fri Oct 10 14:06:11 EDT 2014


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

RH Bugzilla Integration updated WFCORE-160:
-------------------------------------------
        Bugzilla Update: Perform
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1145960


> Bash scripts should not attempt to expand argument properties
> -------------------------------------------------------------
>
>                 Key: WFCORE-160
>                 URL: https://issues.jboss.org/browse/WFCORE-160
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Scripts
>            Reporter: James Perkins
>            Assignee: James Perkins
>
> Scripts that parse the command line arguments use a pattern like
> {code}
> while [ "$#" -gt 0 ]
> do
>     case "$1" in
>       *)
>           CLI_OPTS="$CLI_OPTS \"$1\""
>           ;;
>     esac
>     shift
> done
> {code}
> The {{CLI_OPTS="$CLI_OPTS \"$1\""}} should be {{CLI_OPTS="$CLI_OPTS '$1'"}}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list