mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[#3025] appease shellcheck
. "${admin_utils}" ^--------------^ SC1090: Can't follow non-constant source. Use a directive to specify location. version=$(checked_mysql_version) ^-------------------^ SC2119: Use checked_mysql_version "$@" if function's $1 should mean script's $1. ... and others that spiraled afterwards
This commit is contained in:
@@ -6,9 +6,10 @@ variables:
|
||||
|
||||
# Disabled shellcheck warnings:
|
||||
# SC1117: Backslash is literal in "\/". Prefer explicit escaping: "\\/".
|
||||
# SC2119: Use "$@" if function's $1 should mean script's $1.
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
# SC3043: In POSIX sh, 'local' is undefined.
|
||||
SHELLCHECK_OPTS: "--exclude=SC1117 --exclude=SC2039 --exclude=SC3043"
|
||||
SHELLCHECK_OPTS: "--exclude=SC1117 --exclude=SC2119 --exclude=SC2039 --exclude=SC3043"
|
||||
|
||||
# Setting this variable will affect all Security templates
|
||||
# (SAST, Dependency Scanning, ...)
|
||||
@@ -110,7 +111,7 @@ shellcheck:
|
||||
- SCRIPTS+="tools/print-generated-files.sh "
|
||||
- SCRIPTS+="tools/shellcheck-all.sh "
|
||||
- SCRIPTS+="tools/tests_in_valgrind.sh "
|
||||
- shellcheck ${SCRIPTS} ${SHELLCHECK_OPTS}
|
||||
- shellcheck -x ${SCRIPTS} ${SHELLCHECK_OPTS}
|
||||
|
||||
are-database-scripts-in-sync:
|
||||
stage: test
|
||||
|
@@ -16,12 +16,6 @@
|
||||
# - lease upload to the database
|
||||
# - lease database recount
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
# SC2086: Double quote to prevent globbing and word splitting.
|
||||
# Reason for disable: explicitly don't quote extra_arguments so it is
|
||||
@@ -61,6 +55,7 @@ else
|
||||
SCRIPTS_DIR="@datarootdir@/@PACKAGE@/scripts"
|
||||
fi
|
||||
|
||||
# shellcheck source=src/bin/admin/admin-utils.sh.in
|
||||
. "${admin_utils}"
|
||||
|
||||
# Prints out usage version.
|
||||
|
@@ -6,17 +6,16 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
|
||||
# Include common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# Include admin utilities
|
||||
# shellcheck source=src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
|
||||
# Set location of the kea-admin.
|
||||
|
@@ -6,17 +6,12 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
|
||||
# Include common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# Locations of memfile tools
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
# SC2154: ... is referenced but not assigned.
|
||||
# Reason: some variables are sourced.
|
||||
@@ -18,9 +15,11 @@
|
||||
set -eu
|
||||
|
||||
# Include common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# Include admin utilities
|
||||
# shellcheck source=src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
|
||||
# Set path to the production schema scripts
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
# SC2154: ... is referenced but not assigned.
|
||||
# Reason: some variables are sourced.
|
||||
@@ -18,9 +15,11 @@
|
||||
set -eu
|
||||
|
||||
# Include common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# Include admin utilities
|
||||
# shellcheck source=src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
|
||||
# Set path to the production schema scripts
|
||||
|
@@ -6,17 +6,12 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
|
||||
# Include common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# Path to the temporary configuration file.
|
||||
@@ -80,9 +75,6 @@ CONFIG_PWD="{
|
||||
bin="kea-ctrl-agent"
|
||||
bin_path="@abs_top_builddir@/src/bin/agent"
|
||||
|
||||
# Import common test library.
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# This test verifies that syntax checking works properly. This function
|
||||
# requires 3 parameters:
|
||||
# test_name
|
||||
@@ -120,7 +112,7 @@ shutdown_test() {
|
||||
# Instruct Control Agent to log to the specific file.
|
||||
set_logger
|
||||
# Start Control Agent.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for Control Agent to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -130,7 +122,7 @@ shutdown_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one Control Agent process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -158,7 +150,7 @@ shutdown_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is down.
|
||||
wait_for_server_down 5 ${bin}
|
||||
wait_for_server_down 5 "${bin}"
|
||||
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
|
||||
"Expected wait_for_server_down return %d, returned %d"
|
||||
|
||||
|
@@ -6,12 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -140,6 +134,7 @@ bin="kea-dhcp-ddns"
|
||||
bin_path="@abs_top_builddir@/src/bin/d2"
|
||||
|
||||
# Import common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# This test verifies that syntax checking works properly. This function
|
||||
@@ -176,7 +171,7 @@ dynamic_reconfiguration_test() {
|
||||
# Instruct D2 to log to the specific file.
|
||||
set_logger
|
||||
# Start D2.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for D2 to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -186,7 +181,7 @@ dynamic_reconfiguration_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one D2 process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -207,7 +202,7 @@ dynamic_reconfiguration_test() {
|
||||
create_config "${CONFIG_INVALID}"
|
||||
|
||||
# Try to reconfigure by sending SIGHUP
|
||||
send_signal 1 ${bin}
|
||||
send_signal 1 "${bin}"
|
||||
|
||||
# Wait up to 10s for the D2Controller to log reload signal received.
|
||||
wait_for_message 10 "DCTL_CFG_FILE_RELOAD_SIGNAL_RECVD" 1
|
||||
@@ -226,7 +221,7 @@ dynamic_reconfiguration_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is still operational.
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: D2 was killed when attempting reconfiguration.\n"
|
||||
clean_exit 1
|
||||
@@ -236,7 +231,7 @@ dynamic_reconfiguration_test() {
|
||||
create_config "${CONFIG}"
|
||||
|
||||
# Reconfigure the server with SIGHUP.
|
||||
send_signal 1 ${bin}
|
||||
send_signal 1 "${bin}"
|
||||
|
||||
# There should be two occurrences of the DHCP4_CONFIG_COMPLETE messages.
|
||||
# Wait for it up to 10s.
|
||||
@@ -253,7 +248,7 @@ dynamic_reconfiguration_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is still operational.
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: D2 was killed when attempting reconfiguration.\n"
|
||||
clean_exit 1
|
||||
@@ -275,7 +270,7 @@ shutdown_test() {
|
||||
# Instruct D2 to log to the specific file.
|
||||
set_logger
|
||||
# Start D2.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for D2 to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -285,7 +280,7 @@ shutdown_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one D2 process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -313,7 +308,7 @@ shutdown_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is down.
|
||||
wait_for_server_down 5 ${bin}
|
||||
wait_for_server_down 5 "${bin}"
|
||||
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
|
||||
"Expected wait_for_server_down return %d, returned %d"
|
||||
|
||||
|
@@ -6,12 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -284,6 +278,7 @@ bin="kea-dhcp4"
|
||||
bin_path="@abs_top_builddir@/src/bin/dhcp4"
|
||||
|
||||
# Import common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# This test verifies that syntax checking works properly. This function
|
||||
@@ -321,7 +316,7 @@ dynamic_reconfiguration_test() {
|
||||
# Instruct Kea to log to the specific file.
|
||||
set_logger
|
||||
# Start Kea.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for Kea to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -331,7 +326,7 @@ dynamic_reconfiguration_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one Kea process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -352,7 +347,7 @@ dynamic_reconfiguration_test() {
|
||||
create_config "${CONFIG_INVALID}"
|
||||
|
||||
# Try to reconfigure by sending SIGHUP
|
||||
send_signal 1 ${bin}
|
||||
send_signal 1 "${bin}"
|
||||
|
||||
# The configuration should fail and the error message should be there.
|
||||
wait_for_message 10 "DHCP4_CONFIG_LOAD_FAIL" 1
|
||||
@@ -371,7 +366,7 @@ dynamic_reconfiguration_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is still operational.
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
|
||||
clean_exit 1
|
||||
@@ -381,7 +376,7 @@ dynamic_reconfiguration_test() {
|
||||
create_config "${CONFIG}"
|
||||
|
||||
# Reconfigure the server with SIGHUP.
|
||||
send_signal 1 ${bin}
|
||||
send_signal 1 "${bin}"
|
||||
|
||||
# There should be two occurrences of the DHCP4_CONFIG_COMPLETE messages.
|
||||
# Wait for it up to 10s.
|
||||
@@ -398,7 +393,7 @@ dynamic_reconfiguration_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is still operational.
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
|
||||
clean_exit 1
|
||||
@@ -427,7 +422,7 @@ shutdown_test() {
|
||||
# Instruct Kea to log to the specific file.
|
||||
set_logger
|
||||
# Start Kea.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for Kea to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -437,7 +432,7 @@ shutdown_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one Kea process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -466,7 +461,7 @@ shutdown_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is down.
|
||||
wait_for_server_down 5 ${bin}
|
||||
wait_for_server_down 5 "${bin}"
|
||||
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
|
||||
"Expected wait_for_server_down return %d, returned %d"
|
||||
|
||||
@@ -493,7 +488,7 @@ lfc_timer_test() {
|
||||
# Instruct Kea to log to the specific file.
|
||||
set_logger
|
||||
# Start Kea.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for Kea to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -503,7 +498,7 @@ lfc_timer_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one Kea process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -526,7 +521,7 @@ lfc_timer_test() {
|
||||
create_config "${LFC_CONFIG}"
|
||||
|
||||
# Reconfigure the server with SIGHUP.
|
||||
send_signal 1 ${bin}
|
||||
send_signal 1 "${bin}"
|
||||
|
||||
# There should be two occurrences of the DHCP4_CONFIG_COMPLETE messages.
|
||||
# Wait for it up to 10s.
|
||||
@@ -543,7 +538,7 @@ lfc_timer_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is still operational.
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
|
||||
clean_exit 1
|
||||
@@ -557,7 +552,7 @@ lfc_timer_test() {
|
||||
fi
|
||||
|
||||
# Send signal to Kea SIGTERM
|
||||
send_signal 15 ${bin}
|
||||
send_signal 15 "${bin}"
|
||||
|
||||
# Wait up to 10s for the server's graceful shutdown. The graceful shut down
|
||||
# should be recorded in the log file with the appropriate message.
|
||||
@@ -568,7 +563,7 @@ lfc_timer_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is down.
|
||||
wait_for_server_down 5 ${bin}
|
||||
wait_for_server_down 5 "${bin}"
|
||||
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
|
||||
"Expected wait_for_server_down return %d, returned %d"
|
||||
|
||||
|
@@ -6,12 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -301,6 +295,7 @@ bin="kea-dhcp6"
|
||||
bin_path="@abs_top_builddir@/src/bin/dhcp6"
|
||||
|
||||
# Import common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# This test verifies that syntax checking works properly. This function
|
||||
@@ -339,7 +334,7 @@ dynamic_reconfiguration_test() {
|
||||
# Instruct Kea to log to the specific file.
|
||||
set_logger
|
||||
# Start Kea.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for Kea to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -349,7 +344,7 @@ dynamic_reconfiguration_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one Kea process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -370,7 +365,7 @@ dynamic_reconfiguration_test() {
|
||||
create_config "${CONFIG_INVALID}"
|
||||
|
||||
# Try to reconfigure by sending SIGHUP
|
||||
send_signal 1 ${bin}
|
||||
send_signal 1 "${bin}"
|
||||
|
||||
# The configuration should fail and the error message should be there.
|
||||
wait_for_message 10 "DHCP6_CONFIG_LOAD_FAIL" 1
|
||||
@@ -389,7 +384,7 @@ dynamic_reconfiguration_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is still operational.
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
|
||||
clean_exit 1
|
||||
@@ -399,7 +394,7 @@ dynamic_reconfiguration_test() {
|
||||
create_config "${CONFIG}"
|
||||
|
||||
# Reconfigure the server with SIGHUP.
|
||||
send_signal 1 ${bin}
|
||||
send_signal 1 "${bin}"
|
||||
|
||||
# There should be two occurrences of the DHCP6_CONFIG_COMPLETE messages.
|
||||
# Wait for it up to 10s.
|
||||
@@ -416,7 +411,7 @@ dynamic_reconfiguration_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is still operational.
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
|
||||
clean_exit 1
|
||||
@@ -446,7 +441,7 @@ shutdown_test() {
|
||||
# Instruct Kea to log to the specific file.
|
||||
set_logger
|
||||
# Start Kea.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for Kea to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -456,7 +451,7 @@ shutdown_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one Kea process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -485,7 +480,7 @@ shutdown_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is down.
|
||||
wait_for_server_down 5 ${bin}
|
||||
wait_for_server_down 5 "${bin}"
|
||||
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
|
||||
"Expected wait_for_server_down return %d, returned %d"
|
||||
|
||||
@@ -513,7 +508,7 @@ lfc_timer_test() {
|
||||
# Instruct Kea to log to the specific file.
|
||||
set_logger
|
||||
# Start Kea.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for Kea to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -523,7 +518,7 @@ lfc_timer_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one Kea process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -546,7 +541,7 @@ lfc_timer_test() {
|
||||
create_config "${LFC_CONFIG}"
|
||||
|
||||
# Reconfigure the server with SIGHUP.
|
||||
send_signal 1 ${bin}
|
||||
send_signal 1 "${bin}"
|
||||
|
||||
# There should be two occurrences of the DHCP4_CONFIG_COMPLETE messages.
|
||||
# Wait for it up to 10s.
|
||||
@@ -563,7 +558,7 @@ lfc_timer_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is still operational.
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
|
||||
clean_exit 1
|
||||
@@ -577,7 +572,7 @@ lfc_timer_test() {
|
||||
fi
|
||||
|
||||
# Send signal to Kea SIGTERM
|
||||
send_signal 15 ${bin}
|
||||
send_signal 15 "${bin}"
|
||||
|
||||
# Wait up to 10s for the server's graceful shutdown. The graceful shut down
|
||||
# should be recorded in the log file with the appropriate message.
|
||||
@@ -588,7 +583,7 @@ lfc_timer_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is down.
|
||||
wait_for_server_down 5 ${bin}
|
||||
wait_for_server_down 5 "${bin}"
|
||||
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
|
||||
"Expected wait_for_server_down return %d, returned %d"
|
||||
|
||||
|
@@ -13,9 +13,6 @@
|
||||
# shellcheck disable=SC2034
|
||||
# SC2034: ... appears unused. Verify use (or export if used externally).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
# SC2154: ... is referenced but not assigned.
|
||||
# Reason: some variables are taken from keactrl.conf
|
||||
@@ -414,8 +411,7 @@ if [ ! -f "${keactrl_conf}" ]; then
|
||||
fi
|
||||
|
||||
# Include the configuration file.
|
||||
# Shellcheck complaints about not being to follow the source. Let's ingore it.
|
||||
# shellcheck disable=SC1090
|
||||
# shellcheck source=src/bin/keactrl/keactrl.conf.in
|
||||
. "${keactrl_conf}"
|
||||
|
||||
# Get location of the DHCPv4 server binary.
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -21,6 +18,7 @@ set -eu
|
||||
# run_command would be used.
|
||||
|
||||
# Include common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# Set location of the keactrl.
|
||||
|
@@ -6,12 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -77,6 +71,7 @@ bin="kea-netconf"
|
||||
bin_path="@abs_top_builddir@/src/bin/netconf"
|
||||
|
||||
# Import common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# This test verifies that help can be printed out.
|
||||
@@ -158,7 +153,7 @@ shutdown_test() {
|
||||
# Instruct Netconf Agent to log to the specific file.
|
||||
set_logger
|
||||
# Start Netconf Agent.
|
||||
start_kea ${bin_path}/${bin}
|
||||
start_kea "${bin_path}/${bin}"
|
||||
# Wait up to 20s for Netconf Agent to start.
|
||||
wait_for_kea 20
|
||||
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
|
||||
@@ -168,7 +163,7 @@ shutdown_test() {
|
||||
|
||||
# Check if it is still running. It could have terminated (e.g. as a result
|
||||
# of configuration failure).
|
||||
get_pid ${bin}
|
||||
get_pid "${bin}"
|
||||
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
|
||||
printf "ERROR: expected one Netconf Agent process to be started. Found %d processes\
|
||||
started.\n" "${_GET_PIDS_NUM}"
|
||||
@@ -196,7 +191,7 @@ shutdown_test() {
|
||||
fi
|
||||
|
||||
# Make sure the server is down.
|
||||
wait_for_server_down 5 ${bin}
|
||||
wait_for_server_down 5 "${bin}"
|
||||
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
|
||||
"Expected wait_for_server_down return %d, returned %d"
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -66,6 +63,7 @@ shell_bin_path="@abs_top_builddir@/src/bin/shell"
|
||||
tmpfile_path="@abs_top_builddir@/src/bin/shell/tests"
|
||||
|
||||
# Import common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
run_kea_shell() {
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -55,6 +52,7 @@ shell_bin_path="@abs_top_builddir@/src/bin/shell"
|
||||
tmpfile_path="@abs_top_builddir@/src/bin/shell/tests"
|
||||
|
||||
# Import common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# This test verifies that Control Agent is shut down gracefully when it
|
||||
|
@@ -6,17 +6,12 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
|
||||
# Include common test library.
|
||||
# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
# Path to the temporary configuration file.
|
||||
@@ -107,9 +102,6 @@ shell_bin_path="@abs_top_builddir@/src/bin/shell"
|
||||
|
||||
tmpfile_path="@abs_top_builddir@/src/bin/agent/tests"
|
||||
|
||||
# Import common test library.
|
||||
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
|
||||
|
||||
list_commands_test() {
|
||||
local test_name="${1}"
|
||||
local config="${2}"
|
||||
|
@@ -6,29 +6,21 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
# SC2034: ... appears unused. Verify use (or export if used externally).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# shellcheck disable=SC2153
|
||||
# SC2153: Possible misspelling: ... may not be assigned, but ... is.
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
# SC2154: bin_path is referenced but not assigned.
|
||||
|
||||
# shellcheck disable=SC3043
|
||||
# SC3043: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
|
||||
# Include XML reporting library.
|
||||
# shellcheck source=src/lib/testutils/xml_reporting_test_lib.sh.in
|
||||
. "@abs_top_builddir@/src/lib/testutils/xml_reporting_test_lib.sh"
|
||||
|
||||
prefix="@prefix@"
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,12 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -23,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -12,9 +12,6 @@
|
||||
# including leases, reservations, etc... Use at your own peril.
|
||||
# Reference tables will be left in-tact.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -26,8 +23,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -20,8 +17,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -12,9 +12,6 @@
|
||||
# including leases, reservations, etc... Use at your own peril.
|
||||
# Reference tables will be left in-tact.
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
|
||||
|
||||
# Exit with error if commands exit with non-zero and if undefined variables are
|
||||
# used.
|
||||
set -eu
|
||||
@@ -26,8 +23,10 @@ prefix="@prefix@"
|
||||
# Include utilities. Use installed version if available and
|
||||
# use build version if it isn't.
|
||||
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
|
||||
else
|
||||
# shellcheck source=./src/bin/admin/admin-utils.sh.in
|
||||
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
|
||||
fi
|
||||
|
||||
|
@@ -6,9 +6,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# check-for-duplicate-includes.sh [-d|--debug] [-h|--help]
|
||||
|
@@ -16,9 +16,6 @@
|
||||
# parser files are included with the source files, the built sources are only
|
||||
# created when building or some of them included in the Kea installation.
|
||||
|
||||
# shellcheck disable=SC2039
|
||||
# SC2039: In POSIX sh, 'local' is undefined.
|
||||
|
||||
# shellcheck disable=SC2013
|
||||
# SC2013: To read lines rather than words, pipe/redirect to a 'while read' loop.
|
||||
# reason: `while read` reads lines, we need to read words
|
||||
|
Reference in New Issue
Block a user