Skip to content

Commit 74126ea

Browse files
ujjawal4046ndimiduk
authored andcommitted
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>
1 parent 7ae66a1 commit 74126ea

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
@@ -847,7 +847,7 @@ if [ "${DEBUG}" = "true" ]; then
847847
fi
848848

849849
# resolve the command arguments
850-
read -r -a CMD_ARGS <<< "$@"
850+
CMD_ARGS=("$@")
851851
if [ "${#JSHELL_ARGS[@]}" -gt 0 ] ; then
852852
CMD_ARGS=("${JSHELL_ARGS[@]}" "${CMD_ARGS[@]}")
853853
fi

0 commit comments

Comments
 (0)