Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions gpAux/gpdemo/demo_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,13 @@ cat >> $CLUSTER_CONFIG <<-EOF

COORDINATOR_PORT=${COORDINATOR_DEMO_PORT}

# Shell to use to execute commands on all hosts
TRUSTED_SHELL="$(dirname "$0")/lalshell"
# Shell to use to execute commands on all hosts. gpinitsystem sources this
# file from whatever directory it runs in, so the path has to be absolute;
# \$(dirname \$0) on its own is relative whenever this script was invoked by
# a relative path. Resolve the directory holding lalshell -- the one this
# script lives in -- and quote it so a path containing whitespace survives
# being sourced.
TRUSTED_SHELL="$(cd "$(dirname "$0")" && pwd)/lalshell"

ENCODING=UNICODE
EOF
Expand Down
Loading