fixed minor bug

main
Ricard Illa 2021-02-17 10:59:09 +01:00
parent deb8f19ad2
commit 12f8ce5852
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ mk_index () {
chmod 644 "${1}/index.html"
}
# shellcheck disable=SC1091
[ -f /etc/env ] && . /etc/env
if [ -n "${SITES}" ]; then
for site in ${SITES}; do
mk_index "${PYSTAGIT_BASE}-${site}"