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:
Ujjawal 2022-09-13 18:02:55 +05:30 committed by GitHub
parent f3f88ff6c1
commit b3a04899a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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