Files
illusory-mapp/scripts/populate.env.sh
2026-02-28 14:50:04 +02:00

16 lines
310 B
Bash
Executable File

#!/bin/bash
# copy over the environment variables from the base /.env file to all other apps & packages in apps/* and packages/*
for dir in apps/*; do
if [ -d "$dir" ]; then
cp .env $dir/.env
fi
done
for dir in packages/*; do
if [ -d "$dir" ]; then
cp .env $dir/.env
fi
done