1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

Add Vagrant support for running automated tests

This commit is contained in:
downtownallday
2020-06-21 09:13:54 -04:00
parent 25f5690655
commit a5ab29c83f
12 changed files with 166 additions and 23 deletions

View File

@@ -150,9 +150,9 @@ fi
#
# Run setup mods
#
if [ -d local ]; then
for mod in $(ls local | grep -v '~$'); do
local/$mod
if [ -d "${LOCAL_MODS_DIR:-local}" ]; then
for mod in $(ls "${LOCAL_MODS_DIR:-local}" | grep -v '~$'); do
${LOCAL_MODS_DIR:-local}/$mod
done
fi