]
RH Bugzilla Integration commented on WFCORE-160:
------------------------------------------------
James Perkins <jperkins(a)redhat.com> changed the Status of [bug
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'"}}