]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3025] appease shellcheck
authorAndrei Pavel <andrei@isc.org>
Tue, 20 Feb 2024 18:49:37 +0000 (20:49 +0200)
committerAndrei Pavel <andrei@isc.org>
Thu, 22 Feb 2024 08:06:32 +0000 (10:06 +0200)
 . "${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

78 files changed:
.gitlab-ci.yml
src/bin/admin/kea-admin.in
src/bin/admin/tests/admin_tests.sh.in
src/bin/admin/tests/memfile_tests.sh.in
src/bin/admin/tests/mysql_tests.sh.in
src/bin/admin/tests/pgsql_tests.sh.in
src/bin/agent/tests/ca_process_tests.sh.in
src/bin/d2/tests/d2_process_tests.sh.in
src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
src/bin/dhcp6/tests/dhcp6_process_tests.sh.in
src/bin/keactrl/keactrl.in
src/bin/keactrl/tests/keactrl_tests.sh.in
src/bin/netconf/tests/shtests/netconf_tests.sh.in
src/bin/shell/tests/basic_auth_tests.sh.in
src/bin/shell/tests/shell_process_tests.sh.in
src/bin/shell/tests/tls_ca_process_tests.sh.in
src/lib/testutils/dhcp_test_lib.sh.in
src/lib/testutils/xml_reporting_test_lib.sh.in
src/share/database/scripts/mysql/upgrade_001.0_to_002.0.sh.in
src/share/database/scripts/mysql/upgrade_002.0_to_003.0.sh.in
src/share/database/scripts/mysql/upgrade_003.0_to_004.0.sh.in
src/share/database/scripts/mysql/upgrade_004.0_to_004.1.sh.in
src/share/database/scripts/mysql/upgrade_004.1_to_005.0.sh.in
src/share/database/scripts/mysql/upgrade_005.0_to_005.1.sh.in
src/share/database/scripts/mysql/upgrade_005.1_to_005.2.sh.in
src/share/database/scripts/mysql/upgrade_005.2_to_006.0.sh.in
src/share/database/scripts/mysql/upgrade_006.0_to_007.0.sh.in
src/share/database/scripts/mysql/upgrade_007.0_to_008.0.sh.in
src/share/database/scripts/mysql/upgrade_008.0_to_008.1.sh.in
src/share/database/scripts/mysql/upgrade_008.1_to_008.2.sh.in
src/share/database/scripts/mysql/upgrade_008.2_to_009.0.sh.in
src/share/database/scripts/mysql/upgrade_009.0_to_009.1.sh.in
src/share/database/scripts/mysql/upgrade_009.1_to_009.2.sh.in
src/share/database/scripts/mysql/upgrade_009.2_to_009.3.sh.in
src/share/database/scripts/mysql/upgrade_009.3_to_009.4.sh.in
src/share/database/scripts/mysql/upgrade_009.4_to_009.5.sh.in
src/share/database/scripts/mysql/upgrade_009.5_to_009.6.sh.in
src/share/database/scripts/mysql/upgrade_009.6_to_010.0.sh.in
src/share/database/scripts/mysql/upgrade_010_to_011.sh.in
src/share/database/scripts/mysql/upgrade_011_to_012.sh.in
src/share/database/scripts/mysql/upgrade_012_to_013.sh.in
src/share/database/scripts/mysql/upgrade_013_to_014.sh.in
src/share/database/scripts/mysql/upgrade_014_to_015.sh.in
src/share/database/scripts/mysql/upgrade_015_to_016.sh.in
src/share/database/scripts/mysql/upgrade_016_to_017.sh.in
src/share/database/scripts/mysql/upgrade_017_to_018.sh.in
src/share/database/scripts/mysql/upgrade_018_to_019.sh.in
src/share/database/scripts/mysql/upgrade_019_to_020.sh.in
src/share/database/scripts/mysql/upgrade_020_to_021.sh.in
src/share/database/scripts/mysql/wipe_data.sh.in
src/share/database/scripts/pgsql/upgrade_001.0_to_002.0.sh.in
src/share/database/scripts/pgsql/upgrade_002.0_to_003.0.sh.in
src/share/database/scripts/pgsql/upgrade_003.0_to_003.1.sh.in
src/share/database/scripts/pgsql/upgrade_003.1_to_003.2.sh.in
src/share/database/scripts/pgsql/upgrade_003.2_to_003.3.sh.in
src/share/database/scripts/pgsql/upgrade_003.3_to_004.0.sh.in
src/share/database/scripts/pgsql/upgrade_004.0_to_005.0.sh.in
src/share/database/scripts/pgsql/upgrade_005.0_to_005.1.sh.in
src/share/database/scripts/pgsql/upgrade_005.1_to_006.0.sh.in
src/share/database/scripts/pgsql/upgrade_006.0_to_006.1.sh.in
src/share/database/scripts/pgsql/upgrade_006.1_to_006.2.sh.in
src/share/database/scripts/pgsql/upgrade_006.2_to_007.0.sh.in
src/share/database/scripts/pgsql/upgrade_007_to_008.sh.in
src/share/database/scripts/pgsql/upgrade_008_to_009.sh.in
src/share/database/scripts/pgsql/upgrade_009_to_010.sh.in
src/share/database/scripts/pgsql/upgrade_010_to_011.sh.in
src/share/database/scripts/pgsql/upgrade_011_to_012.sh.in
src/share/database/scripts/pgsql/upgrade_012_to_013.sh.in
src/share/database/scripts/pgsql/upgrade_013_to_014.sh.in
src/share/database/scripts/pgsql/upgrade_014_to_015.sh.in
src/share/database/scripts/pgsql/upgrade_015_to_016.sh.in
src/share/database/scripts/pgsql/upgrade_016_to_017.sh.in
src/share/database/scripts/pgsql/upgrade_017_to_018.sh.in
src/share/database/scripts/pgsql/upgrade_018_to_019.sh.in
src/share/database/scripts/pgsql/upgrade_019_to_020.sh.in
src/share/database/scripts/pgsql/wipe_data.sh.in
tools/check-for-duplicate-includes.sh
tools/print-generated-files.sh

index 80d6b963fcf09cfd969472f0a3171c47f3526775..37e0cfbc80540f5de33a2adcd8f1474827e94aeb 100644 (file)
@@ -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
index 4d62192cce5cd3425a7c4769447e3c62b92f4837..3e90acd98c519754aca4758ca1737c94a3d1bf98 100644 (file)
 # - 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.
index c6b8a26c93208bb70586f1cff0b15a6656b6b74b..0fd3084d3e5c042b83cdaeffeeefd070fc038220 100644 (file)
@@ -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.
index ad10109d5f236c47e1a3f593473272ba7de026ba..b83d3d568834d4354307e6c48ee6e6cf7c0ade8c 100644 (file)
@@ -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
index 86d6382070c5aa92458ac9b86475c417c5a4be51..93f6dbb4defa3dce00a430d499ab6487ef6366ba 100644 (file)
@@ -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.
 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
index eda3c6c2e39cfc29e58c49be1b08641a532502b9..2f9404a7747571ca66db8eeed98cf1491c2a1e0b 100644 (file)
@@ -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.
 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
index 0c055a7d862c70ba7dc1c5252cec994ab5dfe918..569882770f9e202188f30d207adfd1490296e85f 100644 (file)
@@ -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"
 
index f6e3f312dc5e78eee3cacad0c988db68f7f45c4a..81551d992593b70186b89e62feea9cc9cac86ccd 100644 (file)
@@ -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"
 
index 10243ede225316a8ad0946667107b999f8db423b..7d646f654d8b5a7ded492df397ebae136f800a39 100644 (file)
@@ -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"
 
index afed5211a6ec3752595cb64950785d88e1bc07fa..fa704e6288eb1499086515bc74ac98a1953182cc 100644 (file)
@@ -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"
 
index 450e997201ebc6a9ddce86ff0d170df06bf636f9..ad87bd73cc292c9762527c2e6245cb3692ecf1b8 100644 (file)
@@ -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.
index 03d1a0a4ef239a20d81c8ce58f40d6ed1bf9ebed..81f30444ecc4931adbb7fe270f35928e6d478d46 100644 (file)
@@ -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.
index a98033c74b57302d0842db86fd43dd5dc8701a8b..963520eeb71e247819a6166a318cbe32bb73d5c1 100644 (file)
@@ -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"
 
index 0d8b2b8c9d42dceb8771990fdd94a1b5bf854e46..6d45fe7005153a2323445bb152cef4695b4925a9 100644 (file)
@@ -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() {
index 514bb2797bf58bc53c4dcec52eff595f5f018957..8e7a1339ee421f078870c61b6ea9af6218896331 100644 (file)
@@ -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
index e8937b8d12769928d42cc5447f05bd2ab01c0cda..528305b13e85f085c2fd4f5e392e9784bfd6dc10 100644 (file)
@@ -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}"
index 6260d2d273f5a3a7b7ae0babc11d8ee0a7aa0142..046b949e4e2a192c3dd65586dda89460a5681249 100644 (file)
@@ -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@"
index 7c6dc0fffd2b98ff86e2ec521f0bbd4a5e53cfe5..67d180957ef33ee8c3b5504d54cea37dc86379fc 100644 (file)
@@ -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
index d78ad7764eb00b46ccc80553aeb67e11a64f822a..35fede46d0ddb9943ce056028bdffdda9b7c7d0c 100644 (file)
@@ -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
 
index 8777ab44a92d93268e2fbb1b0fa580bf24d0dc18..c51401be53bfff76a73eab6a9a8f37d5b62e585e 100644 (file)
@@ -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
 
index b3c0938f7c417c3c478a3193612cbec41cac5ced..786c77c1fa9de4ba3aa0d138bdbb1f49fdcc29ad 100644 (file)
@@ -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
 
index c4df44b0976ac9d51542807fb9c82fd45e0dbc62..8c2f84e01f9180f30ccd4f34f6a2cf9b50febf7b 100644 (file)
@@ -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
 
index 4a7221da1f3403f159ed881d8c8ffe8ca8acf806..58b5e080085b44f6ebf77767065c4922135c52f6 100644 (file)
@@ -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
 
index 8e690f9beae0e797077142dbec8b700f1840decb..1f1f2170040409b7661c872230038b86071a946a 100644 (file)
@@ -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
 
index edd768f0d494d45b050304df195b1ace53f4abdc..c238ceb83eb78d740710881212bd075801489ff1 100644 (file)
@@ -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
 
index edf0e786faf7c6270fde6ba4648a05f9c595691a..c02cbc0d222309816cb2c806a3fa2503dac51d90 100644 (file)
@@ -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
 
index 370e45cab909ceb4ca075bb7462ade40cdf4539d..9c7530be57e4dbe1715077acdedddb577935ae3e 100644 (file)
@@ -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
 
index 059b0bc06b874620518d12d4711060e60b5ffdda..5092837c6dc7508d72de41263d3c5f4b672ad67e 100644 (file)
@@ -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
 
index 0661eba61eede9f946c9292b23c53689f74bf747..a885e22417b5b89c8a84e8f38395c4fc827c5e05 100644 (file)
@@ -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
 
index a056ac2ab405c534c3b3fe4e56e0c1496842bfad..ceabf10b7536e3dd9a01f774791b6dd1beefa3a8 100644 (file)
@@ -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
 
index 32c31cd6e2ef346cec333e118c024e73338a0a70..0439dab2cae19e8afc1aa8442ec9b2960e060a65 100644 (file)
@@ -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
 
index 16267f32780f227841bed472b447eed3cb52d77c..0404d1c7549d6be1872bed3452f11844eecc3a7f 100644 (file)
@@ -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
 
index 3a75fd1dcf71653cb78d679d3424ab6a2d9c05a8..a8e7ec81d1a4546a359dbfae08f1c872e81327b5 100644 (file)
@@ -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
 
index 292131ae9cd4dc02730e9270148e35ce83413258..e27a037291167a13596d6c99757b5d8c12aa1a99 100644 (file)
@@ -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
 
index 72716fe620f119fa9f4ff9f5a7c91459e82f164f..1df9aac2ce45387953dc3ac090be56debcc0b377 100644 (file)
@@ -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
 
index 6777d1cfce1ec88afb47fd0f90608a88cd2b628a..1621a5f9e58a2e14ecf9ca29f0f87e38e0114c7e 100644 (file)
@@ -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
 
index bbbac39b53d4d3ce7c2ee47c5822fcc9d6b5a8b3..3179751c7716872116a7558e998f2f1a45c6c9f0 100644 (file)
@@ -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
 
index d0ceda86ddb232ed4ba58bb1bdd6e4b2403c1d24..c95cc8e278090ae589d437c0fdd13f1ba73af221 100644 (file)
@@ -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
 
index f86805e1f758c747d6a07f0bd94c32164fb67cf8..298822f98fb1839b1bc319dc778642f7d097da62 100644 (file)
@@ -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
 
index 4c379bba0d865ba191ea4f717ebd52f68044124e..e2efb1b4b7ab2ca7ed6cda73d3d1040276c1f00f 100644 (file)
@@ -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
 
index cedd25303bf414d80d07ec7503bc7d3b2f59217c..21b376bb02aa42be6500edb610fda1509918fb5c 100644 (file)
@@ -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
 
index b63f3b2527ad993ca7a5175380abc3d56da40099..01ed768a3e31e2e473bf2002fc28a95347086df7 100644 (file)
@@ -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
 
index caced005ccf84d70b8bf38903ce55bec982370f5..b667c818d9c49fa92c277728a3fc468dbef0f33d 100644 (file)
@@ -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
 
index 4a748b5b73155b3be95ad1813cc5e005a24482b6..aebd1759a172a03c386405ae7387a425f3f40c7f 100644 (file)
@@ -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
 
index f9acd97445adff06084b0dd59efad5475eb5b7fa..0869c033251098f164bbf98c27d8ed6141943583 100644 (file)
@@ -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
 
index b6dc35af7a329b41e204c0ca87461698ae674b7d..d971ff3d88ccd97526759c24260699e81223066d 100644 (file)
@@ -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
 
index c9f123676c38629483b854dbc5cf87e8226de1a6..21eb784afc51a8d7858a051e6691912ee06faa86 100644 (file)
@@ -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
 
index 98546be2092ecc7f8b7e9a1a916155fe4aa865fb..64bc6233e49f766aaeeece2707e02f4c13310632 100644 (file)
@@ -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
 
index 521f0a1f2b259347350764e2519281b0426162fc..ff948ba37e30217da45e4b39fc519c6f39777d4e 100644 (file)
@@ -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
 
index 303e75150a24660b2a8464eb810ce6b78fc30972..ff726b7bdc172817825fbc428647486e7d8e25de 100644 (file)
@@ -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
 
index 29009855c8256740f8cf069f53bfc4f6afacab26..a8f4c49d489a9ea9a123cc213df764cec457c962 100644 (file)
@@ -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
 
index 266ce13a68b3ec7fa759f778c3d6256f276d05d0..93f8ccb1c4a99e8485db1c17cd88498c49c9beb3 100644 (file)
@@ -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
 
index 53df10c2b50fedf341735271b0c4223d664eca4f..b249b52bd24b1772fa1e17770c37aaa65f5f7307 100644 (file)
@@ -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
 
index a2f31b1e2e6f7a1370549e35b750d0d4678e8a90..bc2489f1783ba625475d8e4257968ca69908bcad 100644 (file)
@@ -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
 
index 84cfb2da2519d8ad6e62c5fe91645f38e7884211..fe182767f2c27a913457d8fcea6ded4da599ef5c 100644 (file)
@@ -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
 
index e460ef795624780160a2383d6e40875f10765f93..d17dd0619a8b50d1654122a7b6baf5fa8912e78c 100644 (file)
@@ -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
 
index 244cde21c3ceddce3c7b54538d1bf2eebd44a373..78b9175a273830f6ea64df719f461b957589e27b 100644 (file)
@@ -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
 
index e2739758f19fcf7f1be12c4512afe9aa326a126b..2767f0eb2e9db84c745c36f7f4f72e21f3192db3 100644 (file)
@@ -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
 
index 88b53de5ed3a65a691205a0c2cc9b9b77a26907b..d1b2faa01056eab5003eda63ba5086306d92a003 100644 (file)
@@ -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
 
index 54b044c9c228920d7a28597f2fcfe95820bc00e3..7c1e1f69e1b53363d6d8983b3623b176fef75a0f 100644 (file)
@@ -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
 
index 6fd4462ec576f59fcaab116d5b6f960421df2691..0b36dadf900ff77f93cff9659ab1f1bb068281ca 100644 (file)
@@ -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
 
index a62903ae43a5f1a53ffd2db3aa2996237ff8e3d1..029fed8dcd1c76199d5c4d038659228a117c6c7f 100644 (file)
@@ -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
 
index 12053369cb2745e1fa930742f9126b331c4d18a2..35d3ac8df5386d74b61c8445c103f92ab2697324 100644 (file)
@@ -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
 
index 1adb7225d85721091f05d44dfe8040f237ca51da..c0894080ec553711b94a03041f37eca8ee854784 100644 (file)
@@ -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
 
index 3966f89849b33ae0f1be7305c8b9b6f9f33cba8d..18fb4901def07e033f5bf8a2d8b9ba7c9cebbf20 100644 (file)
@@ -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
 
index 1824a27b0ceb0739f41b1c2a8a87c6f1c11d6f5b..92af8a70449d4dca6864b3dd7449a66f0e98488f 100644 (file)
@@ -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
 
index dc03096ca6e4493e801220ff62a5178e373428d4..b94d9e600b117d6fc9e7d4d1c9f6de15aac6de04 100644 (file)
@@ -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
 
index 330d25b1fdcec748162ad0c59b7042ce3e0fabce..f9ac5b1b242989ada43fe0f6298fc6bff8bbb196 100644 (file)
@@ -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
 
index 4c13e2d44bb562c03bc006ccad9243fa6ce86600..6810ed0997819cf9f3cc541a3528fa0ebb97def6 100644 (file)
@@ -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
 
index 340845bca8cab5189faf79d5db89a23450483cc3..eecf52f6fdc0d2a7b7c237111bdd9f96b9dc1614 100644 (file)
@@ -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
 
index 826cd693e7dc2d22bda05787b07943751b732d0b..7258b6f74eb85e52361897528d18a489cc6a7208 100644 (file)
@@ -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
 
index 845e9ea543caa3481848a30d3a8720073beaac7f..7bcfc414c12561a01606f9626cbcf3f9bf192029 100644 (file)
@@ -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
 
index 6b7b9769d0bca002d698f9708ef393426b43655b..4af85f92d119840c5a5941380346ac1fb0aae0ca 100644 (file)
@@ -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
 
index 8f0a0fd587dcad9ccaa541b4924c69d796be74ca..f56cb1dc35c9e180fb6d93ee98cfcaeff5dbe3b5 100644 (file)
@@ -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
 
index 0ac52d821c4b9e4874280d1b6699f79a95283c43..2a80f5e278757aaea0fa29ed31f688250da2505d 100644 (file)
@@ -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
 
index 7c9c63723334935ea1a4f5175fe334f9267aa5c0..4cb4d3689c983bc32592d00059fb0460bdfd1cf0 100644 (file)
@@ -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
 
index f70d37352fa896fe95be2fb415d23f9460045ba3..6bf44e8eb4729ae045ec8b96817e43568db30a01 100755 (executable)
@@ -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]
index 720441377e254ee636908bd90b1cdd4439756af5..ae3a819bbe34a431d6af1112b021027ba7487da4 100755 (executable)
@@ -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