diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-06-06 15:59:02 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-06-06 15:59:02 -0300 |
commit | 49460352dbc380d3170aa6c9a9e9008a3e2a9706 (patch) | |
tree | b10cf6dd219993f8e83e7dbe00280efb9c671c04 /bin/provision | |
parent | 381a275c82e9b2bce2169f952fe129531e9ed47e (diff) | |
download | bookup-49460352dbc380d3170aa6c9a9e9008a3e2a9706.tar.gz bookup-49460352dbc380d3170aa6c9a9e9008a3e2a9706.tar.bz2 |
Feat: support for an .env file (3)
Diffstat (limited to 'bin/provision')
-rwxr-xr-x | bin/provision | 2 |
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 |