Skip to content

Commit

Permalink
HBASE-27352 - Quoted string argument with spaces passed from command …
Browse files Browse the repository at this point in the history
…line are propagated wrongly to the underlying java class (#4754)

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
  • Loading branch information
ujjawal4046 authored Sep 13, 2022
1 parent f3f88ff commit b3a0489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/hbase
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ if [ "${DEBUG}" = "true" ]; then
fi

# resolve the command arguments
read -r -a CMD_ARGS <<< "$@"
CMD_ARGS=("$@")
if [ "${#JSHELL_ARGS[@]}" -gt 0 ] ; then
CMD_ARGS=("${JSHELL_ARGS[@]}" "${CMD_ARGS[@]}")
fi
Expand Down

0 comments on commit b3a0489

Please sign in to comment.