aboutsummaryrefslogtreecommitdiff
path: root/scripts/test_settings.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test_settings.sh')
-rwxr-xr-xscripts/test_settings.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/test_settings.sh b/scripts/test_settings.sh
index 563dbf0e..22678c79 100755
--- a/scripts/test_settings.sh
+++ b/scripts/test_settings.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2021 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -50,6 +50,8 @@ usage() {
script="$0"
scriptdir=$(dirname "$script")
+. "$scriptdir/functions.sh"
+
cd "$scriptdir/.."
test "$#" -eq 1 || usage