[jboss-jira] [JBoss JIRA] (WFCORE-160) Bash scripts should not attempt to expand argument properties
RH Bugzilla Integration (JIRA)
issues at jboss.org
Mon Oct 13 17:11:39 EDT 2014
[ https://issues.jboss.org/browse/WFCORE-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011348#comment-13011348 ]
RH Bugzilla Integration commented on WFCORE-160:
------------------------------------------------
Paul Gier <pgier at redhat.com> changed the Status of [bug 1145960|https://bugzilla.redhat.com/show_bug.cgi?id=1145960] from MODIFIED to ON_QA
> 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