HBASE-27352 - Quoted string argument with spaces passed from command line are propagated wrongly to the underlying java class (#4754)
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
This commit is contained in:
parent
18c23f75f5
commit
606882e9ef
|
@ -841,7 +841,7 @@ if [ "${DEBUG}" = "true" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# resolve the command arguments
|
# resolve the command arguments
|
||||||
read -r -a CMD_ARGS <<< "$@"
|
CMD_ARGS=("$@")
|
||||||
if [ "${#JSHELL_ARGS[@]}" -gt 0 ] ; then
|
if [ "${#JSHELL_ARGS[@]}" -gt 0 ] ; then
|
||||||
CMD_ARGS=("${JSHELL_ARGS[@]}" "${CMD_ARGS[@]}")
|
CMD_ARGS=("${JSHELL_ARGS[@]}" "${CMD_ARGS[@]}")
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue