container-server/template.sh

8 lines
162 B
Bash
Raw Normal View History

2019-11-24 17:57:40 +01:00
#!/bin/bash
2019-11-24 21:51:03 +01:00
find . -name "*.template" | while read -r f
2019-11-24 17:57:40 +01:00
do
2019-11-24 21:51:03 +01:00
echo -e "$f \t=> ${f%.template}"
2019-11-24 17:57:40 +01:00
(. .env && eval "echo \"$(cat $f)\"") > ${f%.template}
done