Skip to content

Commit

Permalink
Pass arguments to ssh-to-master script as they were passed into forwa…
Browse files Browse the repository at this point in the history
…rd-local-ports script; particularly around treatment of spaces in original argument list. See http://stackoverflow.com/questions/255898/how-to-iterate-over-arguments-in-bash-script
  • Loading branch information
aheiss1 committed Jul 15, 2015
1 parent 7dafc99 commit c87ae83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forward-local-ports
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ printf "%5s %s\n" ${HUE_PORT} "Hue HTTP"
printf "%5s %s\n" ${RESMGR_PORT} "Resource Manager HTTP"
printf "%5s %s\n" ${NAMENODE_PORT} "Name Node HTTP"

$(dirname $0)/ssh-to-master $* -N \
$(dirname $0)/ssh-to-master "$@" -N \
-L${DRILL_UI_PORT}:${PRIVATE_ADDR}:${DRILL_UI_PORT} \
-L${DRILL_USER_PORT}:${PRIVATE_ADDR}:${DRILL_USER_PORT} \
-L${ZOOKEEPER_PORT}:${PRIVATE_ADDR}:${ZOOKEEPER_PORT} \
Expand Down

0 comments on commit c87ae83

Please sign in to comment.