made command source optional

This commit is contained in:
Sven Vogel 2024-05-17 15:53:27 +02:00
parent fa7e5d4688
commit 54682b4a39
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,10 @@ echo "+--------------------------------------+"
echo "| CHECKING prelude |" echo "| CHECKING prelude |"
echo "+--------------------------------------+" echo "+--------------------------------------+"
if [ -z "$SDK" ]; then
echo "no SDK specified, sourcing .env"
source ./.env source ./.env
fi
if [ -z "$SDK" ]; then if [ -z "$SDK" ]; then
echo "no SDK specified" echo "no SDK specified"