forked from FrederikBaerentsen/BrickTracker
Cleanup any outside BK_ variables for the test-server.sh to avoid looking for bugs that do not exist...
This commit is contained in:
parent
ca741a25a3
commit
41ee6df887
@ -1,5 +1,14 @@
|
|||||||
#!/usr/bin/env sh
|
#!/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" ]
|
if [ -f ".env" ]
|
||||||
then
|
then
|
||||||
set -a
|
set -a
|
||||||
|
Loading…
Reference in New Issue
Block a user