From 814e9396e78748465ba23f5e918f72a8964e2265 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sun, 8 Feb 2026 05:12:12 -0500 Subject: [PATCH] fix: disable set -e during Perl lint to capture exit status --- scripts/science/lint-all-sdks.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/science/lint-all-sdks.sh b/scripts/science/lint-all-sdks.sh index e8a69a4..3237a7d 100755 --- a/scripts/science/lint-all-sdks.sh +++ b/scripts/science/lint-all-sdks.sh @@ -89,8 +89,11 @@ fi echo "Perl SDKs:" if command -v perl &>/dev/null; then # perl -c loads modules which may not be installed, so check for missing module errors + # Capture output and status separately to avoid set -e triggering + set +e PERL_OUTPUT=$(perl -c "$CLIENTS_DIR/perl/sync/src/un.pl" 2>&1) PERL_EXIT=$? + set -e if [[ $PERL_EXIT -eq 0 ]]; then echo " [PASS] perl-sync" PASSED=$((PASSED + 1))