ClickHouse/tests/queries/0_stateless/02203_shebang.sh

9 lines
277 B
Bash
Raw Normal View History

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