From: Amitay Isaacs Date: Mon, 16 Jan 2017 09:54:59 +0000 (+1100) Subject: ctdb-tests: Fix name of the variable representing init script X-Git-Tag: talloc-2.1.9~381 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff0d45c403d45e13bc07013a5ff47314f83dd647;p=thirdparty%2Fsamba.git ctdb-tests: Fix name of the variable representing init script Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke Autobuild-User(master): Martin Schwenke Autobuild-Date(master): Mon Jan 16 15:46:42 CET 2017 on sn-devel-144 --- diff --git a/ctdb/tests/scripts/script_install_paths.sh b/ctdb/tests/scripts/script_install_paths.sh index bbf6f9e66e2..f9da3eba5b5 100644 --- a/ctdb/tests/scripts/script_install_paths.sh +++ b/ctdb/tests/scripts/script_install_paths.sh @@ -17,5 +17,5 @@ else CTDB_SCRIPTS_TOOLS_HELPER_DIR="/usr/local/libexec/ctdb" fi -export CTDB_SCRIPTS_BASE CTDB_SCRIPTS_BIN_DIR CTDB_SCRIPTS_INIT_DIR \ +export CTDB_SCRIPTS_BASE CTDB_SCRIPTS_BIN_DIR CTDB_SCRIPTS_INIT_SCRIPT \ CTDB_SCRIPTS_SBIN_DIR CTDB_SCRIPTS_TOOLS_HELPER_DIR diff --git a/ctdb/tests/shellcheck/init_script.sh b/ctdb/tests/shellcheck/init_script.sh index d1b5151646c..148f6d7a4ff 100755 --- a/ctdb/tests/shellcheck/init_script.sh +++ b/ctdb/tests/shellcheck/init_script.sh @@ -4,7 +4,7 @@ define_test "init script" -script="$CTDB_SCRIPTS_INIT_DIR" +script="$CTDB_SCRIPTS_INIT_SCRIPT" if [ -z "$script" ] ; then script="/etc/init.d/ctdb"