From 41ee6df887f3381147bcf5b182e803a874d73850 Mon Sep 17 00:00:00 2001 From: Gregoo Date: Fri, 24 Jan 2025 11:35:22 +0100 Subject: [PATCH] Cleanup any outside BK_ variables for the test-server.sh to avoid looking for bugs that do not exist... --- test-server.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test-server.sh b/test-server.sh index 1354510..d318bd7 100755 --- a/test-server.sh +++ b/test-server.sh @@ -1,5 +1,14 @@ #!/usr/bin/env sh +# Cleanup any extra BK_ env that would have been set external +for VAR in `env | cut -d '=' -f 1` +do + case $VAR in BK_*) + echo "Unsetting $VAR" + unset "$VAR" + esac +done + if [ -f ".env" ] then set -a