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

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Oct 22 06:35:36 EDT 2014


    [ https://issues.jboss.org/browse/WFCORE-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014164#comment-13014164 ] 

RH Bugzilla Integration commented on WFCORE-160:
------------------------------------------------

Petr Kremensky <pkremens at redhat.com> changed the Status of [bug 1145960|https://bugzilla.redhat.com/show_bug.cgi?id=1145960] from ON_QA to ASSIGNED

> 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
>             Fix For: 1.0.0.Alpha10
>
>
> 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