Cleanup any outside BK_ variables for the test-server.sh to avoid looking for bugs that do not exist...

This commit is contained in:
Gregoo 2025-01-24 11:35:22 +01:00
parent ca741a25a3
commit 41ee6df887

View File

@ -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