Fix possible export VAR=VALUE bashism

This commit is contained in:
Tuncer Ayaz 2010-12-17 12:39:31 +01:00
parent ec6a5fb587
commit 57e593a319

View file

@ -58,7 +58,8 @@ case "$1" in
echo "Node is already running!"
exit 1
fi
export HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start"
HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start"
export HEART_COMMAND
mkdir -p $PIPE_DIR
# Note the trailing slash on $PIPE_DIR/
$ERTS_PATH/run_erl -daemon $PIPE_DIR/ $RUNNER_LOG_DIR "exec $RUNNER_BASE_DIR/bin/$SCRIPT console" 2>&1