ClickHouse/tests/queries/0_stateless/02203_shebang.sh
Alexey Milovidov 0131280596 Fix test
2022-02-03 05:16:13 +03:00

9 lines
277 B
Bash
Executable File

#!/usr/bin/env bash
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CUR_DIR"/../shell_config.sh
sed -i.bak "s!/usr/bin/clickhouse-local!$(command -v ${CLICKHOUSE_LOCAL})!" "${CUR_DIR}/02203_shebang"
"${CUR_DIR}/02203_shebang"