1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

ctdb-tests: Add new variable CTDB_SCRIPTS_TESTS_BINDIR

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2018-10-09 16:18:49 +11:00 committed by Amitay Isaacs
parent 2cb82ef453
commit bde73c7a04

View File

@ -10,6 +10,7 @@ if [ -n "$ctdb_dir" ] ; then
CTDB_SCRIPTS_TOOLS_HELPER_DIR="${ctdb_dir}/tools"
CTDB_SCRIPTS_HELPER_BINDIR="${top_dir}/bin"
CTDB_SCRIPTS_DATA_DIR="${ctdb_dir}/config"
CTDB_SCRIPTS_TESTS_BINDIR="${top_dir}/bin"
else
# Installed
CTDB_SCRIPTS_BASE="/usr/local/etc/ctdb"
@ -19,6 +20,7 @@ else
CTDB_SCRIPTS_TOOLS_HELPER_DIR="/usr/local/libexec/ctdb"
CTDB_SCRIPTS_HELPER_BINDIR="/usr/local/libexec/ctdb"
CTDB_SCRIPTS_DATA_DIR="/usr/local/share/ctdb"
CTDB_SCRIPTS_TESTS_BINDIR="/usr/local/libexec/ctdb/tests"
fi
export CTDB_SCRIPTS_BASE \
@ -27,4 +29,5 @@ export CTDB_SCRIPTS_BASE \
CTDB_SCRIPTS_SBIN_DIR \
CTDB_SCRIPTS_TOOLS_HELPER_DIR \
CTDB_SCRIPTS_HELPER_BINDIR \
CTDB_SCRIPTS_DATA_DIR
CTDB_SCRIPTS_DATA_DIR \
CTDB_SCRIPTS_TESTS_BINDIR