Files
domain-wall/scripts/populate.env.sh
2025-10-21 01:16:39 +03: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