From 2ef27b6a5d190c4d38eb4d13a039e10c006d7c7b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 23 Feb 2026 06:06:55 -0600 Subject: chore: add set -euo pipefail to scripts for safety Enable undefined variable checking (set -u) and pipefail across standalone scripts. Guard SUDO_USER references with ${SUDO_USER:-} for set -u compatibility. --- scripts/full-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/full-test.sh') diff --git a/scripts/full-test.sh b/scripts/full-test.sh index 7728859..e500116 100755 --- a/scripts/full-test.sh +++ b/scripts/full-test.sh @@ -22,7 +22,7 @@ # 1 - One or more tests failed # 2 - Setup/infrastructure error -set -e +set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROJECT_DIR="$(dirname "$SCRIPT_DIR")" -- cgit v1.2.3