Skip to content

Commit b3a0489

Browse files
authored
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 <[email protected]>
1 parent f3f88ff commit b3a0489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/hbase

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ if [ "${DEBUG}" = "true" ]; then
875875
fi
876876

877877
# resolve the command arguments
878-
read -r -a CMD_ARGS <<< "$@"
878+
CMD_ARGS=("$@")
879879
if [ "${#JSHELL_ARGS[@]}" -gt 0 ] ; then
880880
CMD_ARGS=("${JSHELL_ARGS[@]}" "${CMD_ARGS[@]}")
881881
fi

0 commit comments

Comments
 (0)