From 49460352dbc380d3170aa6c9a9e9008a3e2a9706 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Jun 2024 15:59:02 -0300 Subject: Feat: support for an .env file (3) --- bin/provision | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3