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
f3f88ff6c1
commit
b3a04899a4
|
@ -875,7 +875,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