mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 00:20:47 +00:00
17 lines
365 B
Bash
Executable File
17 lines
365 B
Bash
Executable File
#!/bin/bash -e
|
|
#
|
|
# Copyright (C) 2024-present ScyllaDB
|
|
#
|
|
#
|
|
# SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
|
|
#
|
|
|
|
trap 'echo "error $? in $0 line $LINENO"' ERR
|
|
|
|
SCRIPT_PATH=$(dirname $(realpath "$0"))
|
|
|
|
INSTALLED_SCYLLA_PATH="${SCRIPT_PATH}/scylla"
|
|
|
|
# Allow plugging scylla path for local testing
|
|
exec ${SCYLLA:-${INSTALLED_SCYLLA_PATH}} nodetool $@
|