aboutsummaryrefslogtreecommitdiff
path: root/bin/provision
diff options
context:
space:
mode:
Diffstat (limited to 'bin/provision')
-rwxr-xr-xbin/provision2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/provision b/bin/provision
index 478e2bd..91608ec 100755
--- a/bin/provision
+++ b/bin/provision
@@ -8,6 +8,8 @@ DIRNAME="`dirname $0`"
BASEDIR="$DIRNAME/.."
# Load optional customizations
+#
+# Search in multiple levels to account for the case this repository is vendorized.
[ -f "$BASEDIR/.env" ] && source $BASEDIR/.env
[ -f "$BASEDIR/../.env" ] && source $BASEDIR/../.env
[ -f "$BASEDIR/../../.env" ] && source $BASEDIR/../../.env